Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gpg: AES-128 test encryption failed [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
justXi
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2007
Posts: 85

PostPosted: Sun Mar 29, 2009 5:11 pm    Post subject: gpg: AES-128 test encryption failed [solved] Reply with quote

Hi,

I use thunderbird and enigmail to decrypt messages.
One message I could not decrypt, gpg says:
------------------------------------------------------------------------
OpenPGP-Sicherheitsinfo: (OpenPGP-Securityinfo)

Fehler - geheimer Schlüssel wird zur Entschlüsselung benötigt (error: secret key needed for decryption)

gpg Kommandozeile und Ausgabe: (gpg commandline and output)
/usr/bin/gpg --charset utf8 --batch --no-tty --status-fd 2 -d --use-agent
gpg: .... (key info deleted)
gpg: .... (key info deleted)
AES-128 test encryption failed.
gpg: key setup failed: Selbstprüfung fehlgeschlagen (selftest failed)
gpg: Entschlüsselung fehlgeschlagen: Selbstprüfung fehlgeschlagen (decryption failed: selftest failed)
------------------------------------------------------------------------

Does anyone know what I can do to solve this?


Last edited by justXi on Wed Apr 01, 2009 1:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Mon Mar 30, 2009 1:29 am    Post subject: Reply with quote

Hi, did you enable this encryption inside your kernel ?
Back to top
View user's profile Send private message
justXi
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2007
Posts: 85

PostPosted: Mon Mar 30, 2009 5:44 pm    Post subject: Reply with quote

d2_racing wrote:
Hi, did you enable this encryption inside your kernel ?


Yes "AES cypher algorithms" is built as a module.

If I try to enrypt something (while sending an email) I get:
-----------------
AES-128 test encryption failed.
gpg: Ohhhh jeeee: ... this is a bug (seskey.c:60:make_session_key)
-----------------

I testet decryption on my notebook and there it works, without any cryptographic modules.

I don't know how to proceed, any ideas?
Back to top
View user's profile Send private message
justXi
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2007
Posts: 85

PostPosted: Wed Apr 01, 2009 1:54 pm    Post subject: Reply with quote

The problem occurs if libgcrypt is emerged with "-03".

Solution: emerge libgcrypt with "-02"

see https://bugs.gentoo.org/show_bug.cgi?id=263589
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum