Change ErrNoKeyFound message
For #438. I was just going to change it to "wrong password" but then I saw that it might actually be the case that no key could be found, so I changed it to what I did. Let me know if you'd like something different!
This commit is contained in:
parent
a747cf994e
commit
e6ba9e5849
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ import (
|
|||
|
||||
var (
|
||||
// ErrNoKeyFound is returned when no key for the repository could be decrypted.
|
||||
ErrNoKeyFound = errors.New("no key could be found")
|
||||
ErrNoKeyFound = errors.New("wrong password or no key found")
|
||||
)
|
||||
|
||||
// TODO: figure out scrypt values on the fly depending on the current
|
||||
|
|
Loading…
Reference in a new issue