GNU bug report logs - #60693
30.0.50; gnutls-symmetric-encrypt/decrypt in GCM mode requires plaintext/ciphertext size to be multiple of 16

Previous Next

Package: emacs;

Reported by: Jürgen Hötzel <juergen <at> hoetzel.info>

Date: Mon, 9 Jan 2023 18:08:01 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 60693-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jürgen Hötzel <juergen <at> hoetzel.info>
Cc: 60693-done <at> debbugs.gnu.org
Subject: Re: bug#60693: 30.0.50;
 gnutls-symmetric-encrypt/decrypt in GCM mode requires
 plaintext/ciphertext size to be multiple of 16
Date: Mon, 09 Jan 2023 22:19:21 +0200
> From: Jürgen Hötzel <juergen <at> hoetzel.info>
> Date: Mon, 09 Jan 2023 19:06:52 +0100
> 
> (gnutls-symmetric-encrypt 'AES-128-GCM "0123456789ABCDEF" "0123456789AB"
> "hello")
> 
> results in:
> 
> (error "GnuTLS AEAD cipher AES-128-GCM/encrypt input block length 5 is
> not 0 greater than a multiple of the required 16")
> 
> 
> GCM doesn't require any padding of the plaintext before it is used, so this is
> IMO an invalid assumption. Evaluating

OK, thanks.  I disabled the check on the master branch, and closing
the bug.




This bug report was last modified 2 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.