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