kevinstsauveur / BitwardenBackup

Powershell script that exports Bitwarden passwords to KeePass.
MIT License
16 stars 0 forks source link

Sign and encrypt backups with PGP #15

Open kevinstsauveur opened 2 years ago

kevinstsauveur commented 2 years ago

Is your feature request related to a problem? Please describe. No. This is a new functionality.

Describe the solution you'd like As a user, I would like the ability to sign and encrypt resulting files with PGP. It would be a perfect combo if we could enable signature and encryption using PGP directly in function parameters.

Ex: Export -se email@example.com or Export -signencrypt email@example.com

Describe alternatives you've considered As an alternative, I do it manually after the backup.

kevinstsauveur commented 2 years ago

There's already feature/openpgpSignAndEncrypt that is currently in development. It assumes that GnuPG is already installed in the default path.

For this functionality to work, since we need GnuPG installed and it could not be embedded in our release, we could ask the user that he installs GnuPG manually and that he ads gpg.exe to his PATH. Therefore, the call to gpg.exe could be made from BitwardenBackup.