[PATCH 0/2] Extraneous reencryptions

Gabriel Filion gabster at lelutin.ca
Wed Apr 12 03:55:57 CEST 2017

Pass does under some circumstances reencrypt files even though it is not
needed. This was seen during a "pass mv" command, but it would happen in any
command that ends up calling reencrypt_path().

Two different problems can lead to this useless reencryption: a non-english
locale and some extraneous output from gpg when it's informing that it is using
a certain subkey instead of the public key (when listing key ids of encryption
recipients for a file)

This patch series is based on the current master, caaa5f0, and it should be
relatively easy to backport to the 1.6.x series.

Gabriel Filion (2):
  some gpg commands give out unexpected results due to locale
  gpg: list of keys from file needs to be filtered

 src/password-store.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


More information about the Password-Store mailing list