I was testing with encrypting with a large list of keys and Kevin’s syntax did 
just what I wanted.

To make it a little easier I just added the needed key to the .gpg-id file and 
then ran ( assuming your in the password-store dir

````
pass init $(cat .gpg-id)
````

STEVE


> On Feb 10, 2015, at 9:57 AM, Kevin Lyda <[email protected]> wrote:
> 
> On Tue, Feb 10, 2015 at 2:39 PM, Steve Bambling <[email protected]> wrote:
>> Is there a way to re-encrypt the entire tree with a new key or set of keys
>> from the .gpg-id file?
> 
> Removing key2: pass init key1 key3 key4
> Adding nkey1: pass init key1 nkey1
> 
> Note that it will not change the encryption on all the old revisions,
> just on the new revision it will create.
> 
> Kevin
> 
> --
> Kevin Lyda
> Galway, Ireland

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to