Joe Ennis wrote the following on 1/25/11 10:11 AM:
>> echo test > gpg2 -aser "your name" | gpg2

Begging Ben's pardon, I believe there's a mistype, and that the cli
should be (as Ben himself taught me:

echo test | gpg2 -aser joe | gpg2

Please read on.


> ~ $ ps waux | grep gpg-agent
> joe       4543   0.0  0.0  2435116    528 s000  S+    7:06AM   0:00.00 grep 
> gpg-agent

My empirical unlearned knowledge tells me that this is not the expected
output, there should be an additional line, indicating a second process
of gpg-agent.

> ~ $ echo test>gpg2 -aser "joe" | gpg2

As I indicated above, I believe the cli should have been:
echo test | gpg2 -aser joe | gpg2

If you'll please humor me, let's try and dive again in Terminal checks,
with CLIs I've learned from Ben:

But first, please quit all running applications, run the MacGPG2 2.0.17
installer, *restart* your computer, launch Terminal, type the following
lines one by one, as you did previously, and copy the output of each
command line.


$ gpg-agent
[I can't predict what the output will be, please copy it]

$ killall  gpg-agent   [the output of this command should only be a
return to your usual prompt]

$ ps waux | grep gpg-agent  [the output of this command should be
something similar to what you had in a previous attempt, like:

joe  4543 0.0  0.0  2435116  528 s000  S+ 7:06AM 0:00.00 grep gpg-agent

but probably with a different time indicator.

$ cat ~/.gnupg/S.gpg-agent
[the output will probably be something like:
cat: /Users/joe/.gnupg/S.gpg-agent: No such file or directory

This ascertains that gpg-agent has been "killed".


$ ps wax | grep gpg-agent
[please note the different syntax, wax instead of waux]

$ echo test | gpg2 -aser joe | gpg2

If all is OK, you should have now pinentry pop up, requesting you to
enter your passphrase, and there will be an output similar to:

You need a passphrase to unlock the secret key for
user: "Joe Ennis <[email protected]>"
[here the particulars of your key]

After you enter the passphrase and click OK, you should have, again,
pinentry pop up, requesting you to enter your passphrase, while the
Terminal will show an output similar to:

You need a passphrase to unlock the secret key for
user: "Joe Ennis <[email protected]>"
[the particulars of your key]

gpg: encrypted with [the particulars of your key]
      "Joe Ennis <[email protected]>"
test
gpg: Signature made [time and key of your signature]
gpg: Good signature from "Joe Ennis <[email protected]>"


$ gpg-agent
[the output should be: gpg-agent: gpg-agent running and available]

$ ps waux | grep gpg-agent
[the output should be two different lines, please copy them]



Sorry for the long and tedious e-mail, but sometimes there's no
substitute to diving in Terminal, with utmost care, goggles and a SCUBA
outfit ;-)

Best luck,
Charly

BTW, I couldn't find in several keyservers a key corresponding to
[email protected].










_______________________________________________
gpgtools-users mailing list
[email protected]
Changes: http://lists.gpgtools.org/mailman/listinfo/gpgtools-users
Unsubscribe: 
http://lists.gpgtools.org/mailman/options/gpgtools-users/[email protected]?unsub=Unsubscribe&unsubconfirm=1

This email sent to: [email protected]

Reply via email to