diff options
| author | Joe Richey joerichey@google.com <joerichey@google.com> | 2017-08-15 12:06:11 -0700 |
|---|---|---|
| committer | Joe Richey joerichey@google.com <joerichey@google.com> | 2017-08-15 13:16:08 -0700 |
| commit | 5e8dfc196020693d2a9dc809cf6bc87096ddc09f (patch) | |
| tree | 329c776a7b703e286373bee41cd3b4f51bb52b70 /crypto/crypto.go | |
| parent | 8e234ec2cbbb4214ca493ddff18257f0c7605ee1 (diff) | |
crypto: Switch from session to user keyring
Diffstat (limited to 'crypto/crypto.go')
| -rw-r--r-- | crypto/crypto.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/crypto.go b/crypto/crypto.go index e66b0dd..b6368ce 100644 --- a/crypto/crypto.go +++ b/crypto/crypto.go @@ -63,10 +63,9 @@ var ( ErrGetrandomFail = util.SystemError("getrandom() failed") ErrKeyAlloc = util.SystemError("could not allocate memory for key") ErrKeyFree = util.SystemError("could not free memory of key") - ErrKeyringLocate = util.SystemError("could not locate the session keyring") - ErrKeyringInsert = util.SystemError("could not insert key into the session keyring") + ErrKeyringInsert = util.SystemError("could not insert key into the keyring") ErrKeyringSearch = errors.New("could not find key with descriptor") - ErrKeyringDelete = util.SystemError("could not delete key from the session keyring") + ErrKeyringDelete = util.SystemError("could not delete key from the keyring") ) // panicInputLength panics if "name" has invalid length (expected != actual) |