-
-
Notifications
You must be signed in to change notification settings - Fork 521
Open
Description
Summary
I added myself as a new recipient to a store on a new machine. After running gopass clone and sync I'm able to see the stored secrets, but syncing removed all other public keys from the store. Syncing shows the following output
$ gopass sync --store tuomas
❌ Failed to initialize mount 3 (/home/tuomas/.local/share/gopass/stores/3). Ignoring: failed to init sub store "3" at "/home/tuomas/.local/share/gopass/stores/3": password store 3 is not initialized. Try gopass init --store 3 --path /home/tuomas/.local/share/gopass/stores/3
🚥 Syncing with all remotes ...
[tuomas]
gitfs pull and push ... OK (no changes)❌ Failed to decode public key 0x011B48107A2944E1: public key "0x011B48107A2944E1" not found❌ failed to export public key for "0x011B48107A2944E1": failed to export public key: key not found❌ Failed to export missing public keys for "tuomas": some keys failed✅ All done
Steps To Reproduce
Sync an existing store using a new recipient.
Expected behavior
Syncing would import the existing public keys to the new recipients machine instead of removing them from the store.
Environment
- OS: Ubuntu 22.04.2 LTS
- OS version: Linux mylly 5.17.0-1034-oem # 35-Ubuntu SMP PREEMPT Wed Jun 21 14:47:15 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
- gopass Version: gopass 1.15.5 go1.20.2 linux amd64
- Installation method: downloaded from gopass repo releases
Metadata
Metadata
Assignees
Labels
bugDefectsDefects