mirror of
https://github.com/slackhq/nebula.git
synced 2026-02-15 17:24:23 +01:00
cert: fix dropped errors (#961)
This commit is contained in:
@@ -77,6 +77,9 @@ func aes256Decrypt(passphrase []byte, kdfParams *Argon2Parameters, data []byte)
|
||||
}
|
||||
|
||||
gcm, err := cipher.NewGCM(block)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
nonce, ciphertext, err := splitNonceCiphertext(data, gcm.NonceSize())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user