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

sudoforge picture sudoforge  路  4Comments

FlorinAndrei picture FlorinAndrei  路  7Comments

sevenmaxis picture sevenmaxis  路  4Comments

worldofpeace picture worldofpeace  路  4Comments

prune998 picture prune998  路  6Comments