cert: fix dropped errors (#961)

This commit is contained in:
Lars Lehtonen
2023-09-07 10:54:01 -07:00
committed by GitHub
parent f7e392995a
commit dbdb48f182
2 changed files with 6 additions and 0 deletions

View File

@@ -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 {