1 |
Hi Mick, |
2 |
on Sunday, 2006-04-16 at 19:48:00, you wrote: |
3 |
> 1. What is the relationship between gpg-agent and ssh-agent? Do I need both? |
4 |
|
5 |
One is for SSH, the other for GPG :) Yes, I don't think either can be made to work for the other program. |
6 |
|
7 |
> 2. How can I get the gpg-agent to start if I do not use KDM, but XDM |
8 |
> with fluxbox? (I added eval "$(gpg-agent --daemon)" in my ~/.xsession |
9 |
> with no effect). |
10 |
|
11 |
I found this script somehwere and installed it blobally. It's called in my .profile: |
12 |
|
13 |
#!/bin/sh |
14 |
if [ -x /usr/bin/gpg-agent ]; then |
15 |
if [ -f ${HOME}/.gpg-agent-info ]; then |
16 |
OLD_GPG_AGENT=`cat ${HOME}/.gpg-agent-info` |
17 |
CHECK_PID=`echo ${OLD_GPG_AGENT}|cut -d ":" -f 2` |
18 |
PROG=`ps -p ${CHECK_PID} |tail -n1| sed -e "s,^[^ ]* *[^ ]* *[^ ]* *,,"` |
19 |
if [ "${PROG}x" != "gpg-agentx" ]; then |
20 |
rm ${HOME}/.gpg-agent-info |
21 |
else |
22 |
export GPG_AGENT_INFO=${OLD_GPG_AGENT} |
23 |
fi |
24 |
fi |
25 |
if [ ! -f ${HOME}/.gpg-agent-info ]; then |
26 |
eval "`gpg-agent --daemon`" |
27 |
echo $GPG_AGENT_INFO >${HOME}/.gpg-agent-info |
28 |
fi |
29 |
fi |
30 |
|
31 |
> 3. Some mail clients do not handle gpg signing very elegantly (as in |
32 |
> automatically). Neverhteless, the signature is presented as an |
33 |
> attachment. How can the recipient check the validity of the |
34 |
> signature? It would be useful to find this answer not just for Linux, |
35 |
> but also for M$Outlook. |
36 |
|
37 |
There is a plugin for Outlook, two in fact, I think one is linked from the GPG |
38 |
site and the older one is included with WinPT. |
39 |
|
40 |
> 4. I created two uids one for me@×××××.com and one for |
41 |
> me@another_domain.com. I thought that I would be able to switch |
42 |
> between uids depending on the domain that I use in Kmail. Things got |
43 |
> rather messed up thereafter. When I try to select a Signing key id |
44 |
> (Group properties on say a newsgroup/Identity/Signing key/Change) I |
45 |
> always get the me@another_domain.com as the uid, instead of the |
46 |
> me@×××××.com as a signature. How can I switch between uids? |
47 |
|
48 |
You can only set one as the primary UID, in fact there won't be any difference |
49 |
in the signature whether you use one or the other. It's just a difference in |
50 |
the key's flags. |
51 |
|
52 |
> 5. When I revoke a uid is it also removed from the keyservers? |
53 |
|
54 |
No. That is, they did do some cleanup in the past when there were too many |
55 |
expired/invalid/revoked keys lingering around, but it's not under your control. |
56 |
The UID will just be flagged as revoked and therefore be as good as gone as far |
57 |
as GPG is concerned. |
58 |
|
59 |
> 6. Is there a way of finding out what is kept with respect to my |
60 |
> sigs/uids on a keyserver? |
61 |
|
62 |
It's pretty much a verbatim copy of your key. For finding out the details, this one may be helpful (this and the relevant RFCs, 20-something) |
63 |
* app-crypt/pgpdump |
64 |
Available versions: 0.22 ~0.24 |
65 |
Installed: 0.22 |
66 |
Homepage: http://pgp.iijlab.net/pgpdump.html |
67 |
Description: A PGP packet visualizer |
68 |
|
69 |
HTH |
70 |
cheers! |
71 |
Matthias |
72 |
|
73 |
-- |
74 |
I prefer encrypted and signed messages. KeyID: FAC37665 |
75 |
Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665 |