<p dir="ltr">On a related note. We see this question a lot and I know I have been confused in the past. Is there any way that this feature of `pass init` be more discoverable? </p>
<br><div class="gmail_quote"><div dir="ltr">On Thu, Jul 28, 2016, 21:07 Brian Minton <<a href="mailto:brian@minton.name">brian@minton.name</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">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>
_______________________________________________<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>