Maybe the homedir is corrupted but I wonder how. It was my test homedir for DE-VS testing.
Today I tried some tests and for signing from stdin I get either an assertion when trying to encrypt, or a Checksum Error when trying to sign.
echo foo | /opt/gnupg/bin/gpg2 -seau foo@bar.baz -r foo@bar.baz -r foo@bar.baz2 > /tmp/foo.gpg gpg: WARNING: unsafe permissions on homedir '/home/aheinecke/vsnfdhome' gpg: NOTE: THIS IS A DEVELOPMENT VERSION! gpg: It is only intended for test purposes and should NOT be gpg: used in a production environment or with production keys! gpg: Ohhhh jeeee: Assertion "uid->ref > 0" in free_user_id failed (../../../src/gnupg/g10/free-packet.c:315) [1] 20319 done echo foo | 20320 abort /opt/gnupg/bin/gpg2 -seau foo@bar.baz -r foo@bar.baz -r foo@bar.baz2 >
Or for sign only:
echo foo | /opt/gnupg/bin/gpg2 -sau foo@bar.baz > /tmp/foo.gpg gpg: WARNING: unsafe permissions on homedir '/home/aheinecke/vsnfdhome' gpg: NOTE: THIS IS A DEVELOPMENT VERSION! gpg: It is only intended for test purposes and should NOT be gpg: used in a production environment or with production keys! gpg: signing failed: Checksum error gpg: signing failed: Checksum error
The homedir used for the test is attached. All passphrases are "test".
I could not find a determining factor. With my productive keyring brainpool keys work. If I remove the compliance setting from the vsnfdhome dir it still does not work. So for now no Idea what's wrong here. Needs Triage because I have no idea how important this is. Maybe my SSD just corrupted the keybox? But keylist etc. works.