Gopass: Reencrypting breaks symlinks

Created on 11 Jul 2019  路  1Comment  路  Source: gopasspw/gopass

Summary

I have a lot of symlinks in my password store. When I used gopass recipient add, all of them were replaced with files which had a content of the symlink target (e.g. ../otherfile.gpg).
This breaks gpg decryption of these secrets.

Steps To Reproduce

  1. Add a symlink (by using ln -s)
  2. Add a recipient

Expected behavior

gopass shouldn't create invalid files.

Environment

  • OS: NixOS 19.03
  • OS version: Linux acerola 4.19.57 #1-NixOS SMP Wed Jul 3 11:14:50 UTC 2019 x86_64 GNU/Linux
  • gopass Version: gopass 1.8.4-git+HEAD go1.10.8 linux amd64
  • Installation method: OS repos

Additional context

bug

>All comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

prune998 picture prune998  路  6Comments

aperum picture aperum  路  4Comments

Zamiell picture Zamiell  路  6Comments

jungle-boogie picture jungle-boogie  路  7Comments

sudoforge picture sudoforge  路  4Comments