Skip to content

Commit 91cac3f

Browse files
committed
Updated
1 parent 13b08eb commit 91cac3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/bitwarden/schema/session.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ func (s *Session) MakeDecryptKey(salt, password string, cipher *crypto.Encrypted
111111
}
112112
}
113113

114-
// Create the encryption key from an email and password
114+
// Create the encryption key from an email and password and cache it. Returns
115+
// ErrNotAuthorized error if the key, email or password credentials are invalid
115116
func (s *Session) CacheKey(key, email, password string) error {
116117
// Check parameters
117118
if key == "" || email == "" || password == "" {

0 commit comments

Comments
 (0)