Gnus development mailing list
 help / color / mirror / Atom feed
* gnupg new default key
@ 2014-01-28 16:26 Uwe Brauer
  2014-01-28 19:22 ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2014-01-28 16:26 UTC (permalink / raw)
  To: ding; +Cc: Daiki Ueno

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]


Hello 

I have generated a new 4096 keypair using gpg, 

So gpg  -list-secret-keys gives this


sec   1024R/93B61FDD 1998-09-17
uid                  Uwe Brauer <oub@mat.ucm.es>
uid                  Uwe Brauer <oub@btmpx1.mat.uni-bayreuth.de>
uid                  Uwe Brauer <oub.oub.oub@gmail.com>
uid                  Uwe Brauer <oub.oub.oub@gmail.com>

sec   4096R/65AD077A 2014-01-28
uid                  Uwe Brauer (Second Key) <oub@mat.ucm.es>
ssb   4096R/F7D25222 2014-01-28


I have also set:
(setq epg-gpg-home-directory "/home/oub/.gnupg")
(setq epg-user-id "65AD077A")

But whenever I want to sign a message, the old key is used. What is
wrong in my setting?

thanks

Uwe Brauer 


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5556 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gnupg new default key
  2014-01-28 16:26 gnupg new default key Uwe Brauer
@ 2014-01-28 19:22 ` Eric S Fraga
  2014-01-29  9:39   ` Uwe Brauer
  0 siblings, 1 reply; 4+ messages in thread
From: Eric S Fraga @ 2014-01-28 19:22 UTC (permalink / raw)
  To: ding

Uwe Brauer <oub@mat.ucm.es> writes:

[...]

> I have also set:
> (setq epg-gpg-home-directory "/home/oub/.gnupg")
> (setq epg-user-id "65AD077A")
>
> But whenever I want to sign a message, the old key is used. What is
> wrong in my setting?

Could it be that the variable you want to set is epg-key-id?  The user
id should probably be your name + email or similar.

-- 
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 24.3.50.1 + Ma Gnus v0.8 + evil 1.0-dev
: BBDB version 3.0.50 (2014-01-03 23:31:49 -0600)




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gnupg new default key
  2014-01-28 19:22 ` Eric S Fraga
@ 2014-01-29  9:39   ` Uwe Brauer
  2014-01-31 22:19     ` Tassilo Horn
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2014-01-29  9:39 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

>> "Eric" == Eric S Fraga <Eric> writes:

   > Uwe Brauer <oub@mat.ucm.es> writes:
   > [...]

   >> I have also set:
   >> (setq epg-gpg-home-directory "/home/oub/.gnupg")
   >> (setq epg-user-id "65AD077A")
   >> 
   >> But whenever I want to sign a message, the old key is used. What is
   >> wrong in my setting?

   > Could it be that the variable you want to set is epg-key-id?  The user
   > id should probably be your name + email or similar.

Thanks for pointing this variable out,  but no it does not help.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5556 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gnupg new default key
  2014-01-29  9:39   ` Uwe Brauer
@ 2014-01-31 22:19     ` Tassilo Horn
  0 siblings, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2014-01-31 22:19 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

Uwe Brauer <oub@mat.ucm.es> writes:

>    > Could it be that the variable you want to set is epg-key-id?  The
>    > user id should probably be your name + email or similar.
>
> Thanks for pointing this variable out,  but no it does not help.

Have a look at the function `mml2015-epg-sign'.  It seems like it will
query you for the key to use with `epa-select-key' if there are many
unless one is marked as default.  Or maybe the signer-names don't match
your new key...

Bye,
Tassilo

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 229 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-31 22:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-28 16:26 gnupg new default key Uwe Brauer
2014-01-28 19:22 ` Eric S Fraga
2014-01-29  9:39   ` Uwe Brauer
2014-01-31 22:19     ` Tassilo Horn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).