<p dir="ltr">You can use "pass init" to add or change keys. It will do commands similar to what you were doing manually.</p>
<br><div class="gmail_quote"><div dir="ltr">On Thu, Jul 28, 2016, 9:04 PM Tmplt <<a href="mailto:ttemplate223@gmail.com">ttemplate223@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
My gpg setup was due to a makeover, so I created a new key dedicated to<br>
pass' files. I did this with the following commands as it didn't seem<br>
like pass supported this feature:<br>
<br>
  find .password-store -type f -name '*.gpg' -exec gpg --decrypt-files<br>
'{}' \;<br>
  find .password-store -type f -name '*.gpg' -delete<br>
  find .password-store -type f -exec gpg -r <fingerprint><br>
--encrypt-files '{}' \;<br>
<br>
I then removed the unencrypted files.<br>
<br>
Is this a feature that pass could support, or is it too much of an<br>
uncommon case of usage?<br>
<br>
It might be a safer operation if pass would support this, as I realize<br>
belatedly that removing the unencrypted files with `rm` leaves me open<br>
for exploits (which perhaps wouldn't be the case if I had used `shred<br>
--remove` instead)<br>
<br>
What do you think?<br>
<br>
--<br>
Tmplt<br>
_______________________________________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
</blockquote></div>