BrowserPass | Retrieves passwords stored in browsers written in C | Identity Management library
kandi X-RAY | BrowserPass Summary
kandi X-RAY | BrowserPass Summary
Retrieves passwords stored in browsers written in pure C#.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of BrowserPass
BrowserPass Key Features
BrowserPass Examples and Code Snippets
Community Discussions
Trending Discussions on BrowserPass
QUESTION
I've had the same issue for two days now: System.Security.Cryptography.CryptographicException: The parameter is incorrect
in System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope)
I used this project for my code: https://github.com/jabiel/BrowserPass/tree/master/BrowserPass
In that project the error should be in ChromePassReader.cs, line 42 I guess.
Everything was working properly on my computer, a friend of mine made me try it on his computer and it's not working for him. I have tried also on other PCs, but without success.
Most suitable answer (proposed by Topaco): The type of decryption I'm using is useful for Data Encrypted with DPAPI. Since v80.0 or later Chrome version, password data are encrypted using Aes 256 Gcm, so:
Update
I tried writing a code to decrypt AesGcm256 Password data. I get the user data from the database, located in Google Chrome folders, called Login Data. Then I should decrypt the password I get from there using AesGcm256 Decryption, but I'm not able to do it. This is my attempt:
Where I get URLs, Usernames, Passwords:
...ANSWER
Answered 2020-Mar-16 at 23:55Unfortunately you didn't describe what exactly doesn't work. However, most of the code seems to be implemented correctly. In some parts a few minor changes and additions are necessary:
The DPAPI decryption of the AES key takes place in
SalsaClient.Algorithm.AesGcm256.GetKey()
. Here the return statement is missing. The return value is of typestring
. Since the key generally consists of arbitrary binary data, a suitable encoding like Base64 or hexadecimal should be used if the data are to be returned as string. Alternatively, the key can be returned asbyte[]
, as in the following adaption:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install BrowserPass
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page