Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #207 from square/cs/issue-206
Browse files Browse the repository at this point in the history
Fix issue #206
  • Loading branch information
csstaub authored Nov 30, 2018
2 parents 9ab2713 + ce63c22 commit f61ac65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symmetric.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func newAESGCM(keySize int) contentCipher {
func newAESCBC(keySize int) contentCipher {
return &aeadContentCipher{
keyBytes: keySize * 2,
authtagBytes: 16,
authtagBytes: keySize,
getAead: func(key []byte) (cipher.AEAD, error) {
return josecipher.NewCBCHMAC(key, aes.NewCipher)
},
Expand Down

0 comments on commit f61ac65

Please sign in to comment.