All Projects → GurpreetKang → BitwardenDecrypt

GurpreetKang / BitwardenDecrypt

Licence: GPL-3.0 License
Decrypts an encrypted Bitwarden data.json file.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to BitwardenDecrypt

Bitwarden Go
A Bitwarden-compatible server written in Golang
Stars: ✭ 202 (+124.44%)
Mutual labels:  bitwarden
addon-bitwarden
Vaultwarden (Bitwarden) - Home Assistant Community Add-ons
Stars: ✭ 102 (+13.33%)
Mutual labels:  bitwarden
gnome-pass-search-provider
Pass password manager search provider for gnome-shell
Stars: ✭ 52 (-42.22%)
Mutual labels:  bitwarden
Mobile
The mobile app vault (iOS and Android).
Stars: ✭ 3,149 (+3398.89%)
Mutual labels:  bitwarden
ulauncher-bitwarden
Ulauncher extension to access Bitwarden vaults
Stars: ✭ 26 (-71.11%)
Mutual labels:  bitwarden
hashi-homelab
Hashicorp Homelab is a collection of nomad recipes related to several Open Source projects that I use on my own nomad + consul + vault + Intel Nuc cluster.
Stars: ✭ 178 (+97.78%)
Mutual labels:  bitwarden
Web
The website vault (vault.bitwarden.com).
Stars: ✭ 2,169 (+2310%)
Mutual labels:  bitwarden
docs
Bitwarden application and API documentation.
Stars: ✭ 66 (-26.67%)
Mutual labels:  bitwarden
bitprint
🔐 Print your Bitwarden vault.
Stars: ✭ 37 (-58.89%)
Mutual labels:  bitwarden
ansible-modules-bitwarden
Bitwarden integrations for Ansible
Stars: ✭ 92 (+2.22%)
Mutual labels:  bitwarden
Bitbetter
Modify bit warden to provide my own licensing for self hosting
Stars: ✭ 220 (+144.44%)
Mutual labels:  bitwarden
Browser
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Stars: ✭ 3,305 (+3572.22%)
Mutual labels:  bitwarden
Wristkey
A free and open-source offline authenticator app for Wear OS.
Stars: ✭ 65 (-27.78%)
Mutual labels:  bitwarden
Bitwarden Serverless
Implementation of the Bitwarden API using an AWS serverless stack
Stars: ✭ 217 (+141.11%)
Mutual labels:  bitwarden
bitw
Minimalist BitWarden client
Stars: ✭ 110 (+22.22%)
Mutual labels:  bitwarden
Bitwarden Rofi
Wrapper for Bitwarden https://github.com/bitwarden/cli and Rofi
Stars: ✭ 157 (+74.44%)
Mutual labels:  bitwarden
BitwardenToChromePasswordConverter
A simple console app that converts BitWarden .csv password files to Chrome/Chromium .csv files for password import.
Stars: ✭ 33 (-63.33%)
Mutual labels:  bitwarden
brand
Logos, icons, screenshots, and other media related to the Bitwarden brand.
Stars: ✭ 60 (-33.33%)
Mutual labels:  bitwarden
help
The help website/knowledgebase (bitwarden.com/help).
Stars: ✭ 121 (+34.44%)
Mutual labels:  bitwarden
home-assistant-addons
Alex's Home Assistant Add-ons
Stars: ✭ 28 (-68.89%)
Mutual labels:  bitwarden

BitwardenDecrypt

Decrypts an encrypted Bitwarden data.json file (from the desktop App).
You can safely store data.json as an encrypted, offline backup of your vault knowing you will always be able to decrypt it.

To determine the location of the data.json file see:
https://bitwarden.com/help/article/where-is-data-stored-computer/

Note: BitwardenDecrypt does not work with Bitwarden Encrypted JSON Exports.
These exports lack the Protected Symmetric Key needed to decrypt entries.


Outputs JSON containing:

  • Logins
  • Cards
  • Secure Notes
  • Identities
  • Folders
  • Organizations
  • Collections
  • Sends (Optional)

Note: Outputs (almost) all key/value pairs, including ones you probably don't care about.

Usage:

./BitwardenDecrypt.py [options]  (reads data.json from current directory)
or
./BitwardenDecrypt.py [options] inputfile

Password: (Enter Password)

Options:
        --includesends        Include Sends in the output.

On Windows:

py BitwardenDecrypt.py [options]
or
py BitwardenDecrypt.py [options] inputfile

Password: (Enter Password)

Options:
        --includesends        Include Sends in the output.

Note: This script depends on the 'cryptography' package
pip install cryptography

Donate

Find this useful? If so, consider showing your appreciation. 🙂
https://paypal.me/GurpreetKang


Limitations

  • Does not work with Bitwarden Encrypted JSON Exports.
    These exports lack the Protected Symmetric Key needed to decrypt entries.
  • No validation of the CipherString. I.e. No verification of the MAC before decrypting. Now verifies the MAC.
  • Can only decrypt EncryptionType: 2 (AesCbc256_HmacSha256_B64). At the time of writing this is the default used for all entries in the personal vault.
  • Does not decrypt anything from a Collection (Organization).
    Initial support for decrypting items from a Collection (Organization). This adds support for decrypting EncryptionType: 4 (Rsa2048_OaepSha1_B64)

To Do

[ ] Nothing. Hopefully Bitwarden will implement an encrypted export and this script can become obsolete.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details

Acknowledgments

This project is not associated with Bitwarden or Bitwarden, Inc.

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].