Package: libassuan0
Version: 2.0.3-1
Severity: important
Tags: upstream patch

I used a 4096bit key for encryption (using the GnuPG crypto-stick).
Encryption worked, but decryption didn't work (gpg2 didn't find
the secret key.)

gpg2 uses libassuan to talk to some daemons/agents. 
gpg (1.x) worked, but only if there was no gnupg-agent running.

Patch:
   http://lists.gnupg.org/pipermail/gnupg-users/2012-June/044868.html

I applied this patch and re-built libassuan0-* and gnupg2. This
seems to fix the issue.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libassuan0 depends on:
ii  libc6              2.13-35
ii  libgpg-error0      1.10-3.1
ii  multiarch-support  2.13-35

libassuan0 recommends no packages.

libassuan0 suggests no packages.

-- no debconf information
--- a/src/assuan.h.in
+++ b/src/assuan.h.in
@@ -67,7 +67,8 @@
 #endif
 
 
-#define ASSUAN_LINELENGTH 1002 /* 1000 + [CR,]LF */
+/* see: http://lists.gnupg.org/pipermail/gnupg-users/2012-June/044868.html */
+#define ASSUAN_LINELENGTH 1076 /* 1074 + [CR,]LF */
 
 struct assuan_context_s;
 typedef struct assuan_context_s *assuan_context_t;

Reply via email to