http://bugzilla.novell.com/show_bug.cgi?id=589994 http://bugzilla.novell.com/show_bug.cgi?id=589994#c0 Summary: gpg incurs problem at encryption, returns error code 2, breaks scripts Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: alext@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- Just noticed on my updated 11.2 system. Probably introduced with a recent update to either gpg or gpg-agent. When symmetrically encrypting a file, gpg outputs the string "gpg: problem with the agent: Not implemented" and returns error code 2 after completion. The file does get successfully encrypted; however, since gpg returns error code 2, any scripts that use gpg will assume that the gpg failed (since the return code was not zero) and fail themselves. Transcript follows: [zuul:~]$ echo "hello there" > tstfile [zuul:~]$ cat tstfile | gpg --sign --symmetric > tstfile.gpg You need a passphrase to unlock the secret key for user: "Alex Tsariounov <XXX@XXX.XXX.net>" 1024-bit DSA key, ID EC21BF7F, created 2003-06-30 gpg: 3DES encryption will be used gpg: problem with the agent: Not implemented [zuul:~]$ echo $? 2 [zuul:~]$ cat tstfile.gpg | gpg gpg: 3DES encrypted data gpg: encrypted with 1 passphrase hello there gpg: Signature made Sat 20 Mar 2010 11:24:16 AM MDT using DSA key ID EC21BF7F gpg: Good signature from "Alex Tsariounov <XXX@XXX.XXX.net>" gpg: WARNING: message was not integrity protected [zuul:~]$ -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.