Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The key you entered could not be validated. #63

Open
aindilis opened this issue Nov 23, 2020 · 0 comments
Open

The key you entered could not be validated. #63

aindilis opened this issue Nov 23, 2020 · 0 comments

Comments

@aindilis
Copy link

aindilis commented Nov 23, 2020

Hi,

When I start up cpm, it says
"error: encryption key KEY NAME EMAIL could not be be validated; not using it."

Then when I go to add keys with Ctrl-k, it allows me to enter the key, when I hit enter on the key it says: "edit encryption key", and when I hit enter again, it says: "The key you entered could not be validated." Then when I go to save with Ctrl-w, it says: "GpgMe encrypt error
Invalid value".

"Error encrypting the data.
could not encrypt database file."

I built this github source code, and had the same problems. I also saw the related bug ( #58 ) but no amount of adding encryption keys with different names, or specifying the key in the .cpmrc as mentioned here: http://blog.larsstrand.no/2009/02/secure-password-management-using-cpm.html seems to resolve it.

I am on Debian GNU/Linux 10 (buster). cpm package 0.32-1.2+b1. I have had this problem for many years and on previous versions and cannot figure out how to get around it. cpm does not have this problem on Debian 8.11 (Jessie), cpm package 0.32-1.1.

Best,
Andrew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant