Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/detunized/password-manager-access
Password Manager Access for .NET in C#
https://github.com/detunized/password-manager-access
1password bitwarden c-sharp dashlane dotnet lastpass library opvault password-manager passwordbox roboform stickypassword truekey zoho-vault
Last synced: 8 days ago
JSON representation
Password Manager Access for .NET in C#
- Host: GitHub
- URL: https://github.com/detunized/password-manager-access
- Owner: detunized
- License: mit
- Created: 2019-02-13T20:23:10.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-16T11:59:39.000Z (10 months ago)
- Last Synced: 2024-04-17T02:19:00.337Z (10 months ago)
- Topics: 1password, bitwarden, c-sharp, dashlane, dotnet, lastpass, library, opvault, password-manager, passwordbox, roboform, stickypassword, truekey, zoho-vault
- Language: C#
- Homepage:
- Size: 3.72 MB
- Stars: 31
- Watchers: 4
- Forks: 8
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Password Manager Access for .NET in C#
[![.NET build, test and release](https://github.com/detunized/password-manager-access/actions/workflows/ci.yaml/badge.svg)](https://github.com/detunized/password-manager-access/actions/workflows/ci.yaml)
[![NuGet Badge](https://img.shields.io/nuget/v/PasswordManagerAccess)](https://www.nuget.org/packages/PasswordManagerAccess/)
[![NuGet Badge](https://img.shields.io/nuget/dt/PasswordManagerAccess)](https://www.nuget.org/packages/PasswordManagerAccess/)Password Manager Access provides read only access API to various online
password managers. This unified library is a successor to a bunch of
independent libraries written in the past, such as
[lastpass-sharp](https://github.com/detunized/lastpass-sharp),
[1password-sharp](https://github.com/detunized/1password-sharp) and
[dashlane-sharp](https://github.com/detunized/dashlane-sharp)The following services are supported by this library:
- [1Password](https://1password.com)
- [Bitwarden](https://bitwarden.com)
- [Dashlane](https://dashlane.com)
- [Dropbox Passwords](https://www.dropbox.com/features/security/passwords)
- [Kaspersky Password Manager (work in progress)](https://www.kaspersky.com/password-manager)
- [LastPass](https://lastpass.com)
- [ProtonPass](https://proton.me/pass)
- [RoboForm](https://roboform.com)
- [Sticky Password](https://www.stickypassword.com)
- [True Key](https://www.truekey.com)
- [Zoho Vault](https://www.zoho.com/vault)Additionally the library provides support for parsing and decryption of the
offline [OpVault vault format](https://support.1password.com/opvault-design/).All services support basic log in, retrieve, decrypt, log out sequence. Though
the modules providing support for different services are quite similar, they
do not provide a unified interface. That is mainly due to the differences in
the API and the data provided by the services themselves.A typical work flow with simple password authentication looks like this:
```c#
var vault = Vault.Open("username",
"password",
new ClientInfo(Platform.Desktop,
"device-id",
"client-description"),
null);foreach (var a in vault.Accounts)
Console.WriteLine($"{a.Name}: {a.Username} {a.Password} {a.Url}");
```This code snippet downloads and decrypts a LastPass vault and prints all the
accounts to the standard output. For the fully working example please refer to
the [examples](examples) folder in this repo.## License
The library is released under [the MIT license][mit]. See [LICENSE][license]
for details.[mit]: http://www.opensource.org/licenses/mit-license.php
[license]: LICENSE