Open kpitt opened 1 year ago
It appears that gopass
is only checking for the recipient id file which corresponds to the crypto provider specified in the current init
command. It does not check if the store directory already contains an id file for a different crypto provider.
Summary
If you run the
init
command after a password store has already been initialized, but specify a different crypto provider than the one used in the initialized store,init
will not recognize that the store is already initialized.Steps To Reproduce
gopass init
to initialize the root store with the default GPG encryption.gopass init --crypto age
to initialize the root store with Age encryption.Expected behavior
When running the second
gopass init
command, it should report that the store is already initialized. If you rungopass init
twice with the same crypto provider, it will report: