Information Security Asked on October 28, 2021
I want to use GPG as a master password storage (encrypt and push to online storage). This would require encrypted file being able to be decrypted on multiple machines.
How are private keys stored with GPG. e.g. Best practices. If hd fails, private key is lost?
To decrypt on comp2, I could store private key on comp2 as well?
Any links to diagrams appreciated as I know the keys are also tied to emails and not sure how this fits in?
With GPG the file is actually first encrypted using symmetric encryption, and the key used for that is then encrypted to every recipient using their public keys. Therefore, instead of transferring a single private key between the systems, it's possible to just encrypt the file with multiple recipients.
gpg --encrypt --recipient <comp1> --recipient <comp2>
--recipient <compN> passwords.txt
There are some caveats with this approach:
rsync
to syncronize the file. Password managers may provide service for this.Answered by Esa Jokinen on October 28, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP