All Projects → ddevault → Pass Rotate

ddevault / Pass Rotate

Licence: mit
A tool and library for rotating your password on online services

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pass Rotate

Masterpassword
Project moved to https://gitlab.com/spectre.app
Stars: ✭ 1,122 (+83.93%)
Mutual labels:  password-manager, passwords
Passwords
A simple, yet feature rich password manager for Nextcloud
Stars: ✭ 134 (-78.03%)
Mutual labels:  password-manager, passwords
Featherpasswordmanager
Highly portable extremely light-weight password manager that stores all your passwords in a local encrypted file.
Stars: ✭ 39 (-93.61%)
Mutual labels:  password-manager, passwords
Passwordcockpit
Passwordcockpit is a simple, free, open source, self hosted, web based password manager for teams. It is made in PHP, Javascript, MySQL and it run on a docker service. It allows users with any kind of device to safely store, share and retrieve passwords, certificates, files and much more.
Stars: ✭ 34 (-94.43%)
Mutual labels:  password-manager, passwords
password-list
Password lists with top passwords to optimize bruteforce attacks
Stars: ✭ 174 (-71.48%)
Mutual labels:  password-manager, passwords
Mooltipass
Github repository dedicated to the mooltipass project
Stars: ✭ 501 (-17.87%)
Mutual labels:  password-manager, passwords
Securelogin
This version won't be maintained!
Stars: ✭ 1,259 (+106.39%)
Mutual labels:  password-manager, passwords
keevault
Kee Vault is a password manager for your web browser. Password databases (Vaults) are encrypted using the KeePass storage format before being sent to a remote server for synchronisation across any modern device/browser
Stars: ✭ 57 (-90.66%)
Mutual labels:  password-manager, passwords
addon-bitwarden
Vaultwarden (Bitwarden) - Home Assistant Community Add-ons
Stars: ✭ 102 (-83.28%)
Mutual labels:  password-manager, passwords
enigmatic-mouse
The enigmatic mouse will keep your passwords safe - password manager on Android in Kotlin.
Stars: ✭ 14 (-97.7%)
Mutual labels:  password-manager, passwords
Buttercup Core
🎩 The mighty NodeJS password vault
Stars: ✭ 340 (-44.26%)
Mutual labels:  password-manager, passwords
Cryptr
Cryptr: a GUI for Hashicorp's Vault
Stars: ✭ 324 (-46.89%)
Mutual labels:  password-manager, passwords
Lesspass
🔑 stateless open source password manager
Stars: ✭ 4,879 (+699.84%)
Mutual labels:  password-manager, passwords
Kbsecret
A secret manager backed by Keybase and KBFS.
Stars: ✭ 432 (-29.18%)
Mutual labels:  password-manager
Pass Import
A pass extension for importing data from most of the existing password manager.
Stars: ✭ 412 (-32.46%)
Mutual labels:  password-manager
Gopass
The slightly more awesome standard unix password manager for teams
Stars: ✭ 4,373 (+616.89%)
Mutual labels:  password-manager
Snappass
Share passwords securely
Stars: ✭ 598 (-1.97%)
Mutual labels:  passwords
Swifty
🔑 Free Offline Password Manager
Stars: ✭ 496 (-18.69%)
Mutual labels:  password-manager
Pentesterspecialdict
渗透测试人员专用精简化字典 Dictionary for penetration testers happy hacker
Stars: ✭ 391 (-35.9%)
Mutual labels:  passwords
Browser Addon
Kee adds free, secure and easy password management features to your browser which save time and keep your private data more secure.
Stars: ✭ 386 (-36.72%)
Mutual labels:  password-manager

pass-rotate

pass-rotate is a library and CLI for rotating passwords on various web services. This software makes it easier to rotate your passwords, one at a time or in bulk, when security events or routine upkeep of your online accounts makes it necessary. This is the first step towards a better future - one where users never interact with passwords at all and they're managed entirely by software.

Adding new services is a tedious process. If you'd like to support pass-rotate, you can contribute my Patreon page and request support for specific providers.

CLI usage

Copy pass-rotate.ini to ~/.config/pass-rotate.ini and edit it to your liking. You'll have to find a shell command (or write a script) that gets passwords from and adds passwords to your password manager. Examples for pass are provided in the example config.

Rotate passwords like so:

$ pass-rotate news.ycombinator.com github.com
Rotating news.ycombinator.com... OK
Rotating github.com...
  Enter your two factor (TOTP) code: 
  OK

Full usage:

Usage:
  pass-rotate <accounts>...
  pass-rotate --list-accounts
  pass-rotate --list-providers
  pass-rotate --list-options <provider>

Options:
  --list-accounts   Print all configured accounts
  --list-providers  Print all supported service providers and exit
  --list-options    Prints options for the specified provider and exit
  --config=<file>   Specify an alternate config file (default: ~/.config/pass-rotate.ini)

For a list of currently supported services, see the wiki. Please help us add more services - it's easy!

Installation

pip install -e .

Library usage

The CLI is a frontend for the passrotate Python library, which is intended to be easily integrated with various password managers to provide password rotation functionality.

>>> from passrotate import PassRotate
>>> pass_rotate = PassRotate()
>>> github = pass_rotate.get_provider("github.com", { "username": "example" })
>>> github.prepare(old_password) # Verifies credentials, prompts for two-factor, etc
>>> github.execute(old_password, new_password) # Actually changes the password

You can also get a provider's class with PassRotate.get_provider_class(name), which includes the following properties:

  • name: User-friendly provider name
  • domains: List of domains this password applies to
  • options: Expected format of the options dict you pass into the constructor. This is a dict with option names, whose values are passrotate.provider.ProviderOption instances.

You may get a list() of supported provider classes with PassRotate.get_providers(), and you can also just directly import specific providers from passrotate.providers.

Prompting for two-factor

Some providers may need to prompt the user to do things like provide a two-factor authorization code. You may set a function to fulfill this prompt by using PassRotate.set_prompt(func), where func is a function that takes a prompt string and a prompt_type. The latter is an instance of the passrotate.provider.PromptType enum. This function should return a string - the answer to the prompt.

ProviderOption

This class is used by Provider.options to specify the format of the options dict for this provider.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].