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

Easier "vault add" #19

Open
andresriancho opened this issue Oct 19, 2015 · 3 comments
Open

Easier "vault add" #19

andresriancho opened this issue Oct 19, 2015 · 3 comments
Labels

Comments

@andresriancho
Copy link

The vault add command could be improved by letting the user run something like:

vault add [email protected]

Instead of forcing the user to search for the signature. Of course this will only work if the user already trusts the key associated with [email protected]

@xetorthio
Copy link
Contributor

I don't really understand how to do this.
Because I could have in my key ring different keys with the same email associated to them. Which should I add?

@marcosnils
Copy link
Member

@xetorthio that's correct. Initially we wanted vault to be like this, but we found that emails can be duplicated in the keyring. That's why we used the fingerprint as a unique identifier.

@xetorthio
Copy link
Contributor

What we could do is to allow it, but then when there is more than 1 key with an e-mail warn the user and exit.
But in the case you don't have repeated e-mails (which I think could be the most common case) vault add <email> could work and be a lot nicer :)

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

No branches or pull requests

3 participants