[pass] Using remote repository - Unusable public key
David Adam
zanchey at ucc.gu.uwa.edu.au
Fri Apr 17 04:46:43 CEST 2015
On Mon, 13 Apr 2015, Alfredo Palhares wrote:
> I am trying to use password-store with a repository on non standard location.
>
> So I've set an alias:
>
> pass-myorg='PASSWORD_STORE_DIR=/path/to/my/repo pass'
>
> I've set the master GPG key on the .gpg-id file and quiqly test with:
>
> $ pass-myorg edit Testing/test
> gpg: can't open '/path/to/file.gpg': No such file or directory
> gpg: decrypt_message failed: No such file or directory
> gpg: <keyID>: There is no assurance this key belongs to the named user
> gpg: /dev/shm/pass.J6w2RiXobjf3x/XCRDgtesting-test.txt: encryption failed: Unusable public key
>
> I've noticed the <keyID> that gpg shows me is the key ID that is on
> ~/.password-store and not the non standard path repository .gpg-id file.
FWIW, we ran into the same problem with our team setup because the keys
were not countersigned by each other. We work around this with
`--trust-model always` because keys are specified by fingerprint, not by
UID.
I'm not sure about your problem with the wrong keyID being shown, though.
David Adam
zanchey at ucc.gu.uwa.edu.au
More information about the Password-Store
mailing list