Mailing List Archive

0.9.1: v3 key 'expiration date'
This just happened:
1. generate a key, set expiration date
2. <do other things, deleting etc.>
3. edit a v3 secret key, try to set expiration date
- output: "You can't change...
4. save
5. key has expiration date from 1. and gpg reports that pubkey
and seckey differ.

Now my limited understanding of g10/keyedit.c:menu_expire()
prevents me from submitting a patch right away but I'll take
an easy shot and guess that in the for loop the exp.date is
set before v3 detection. But hey...

Hope this is reproducible,
ralf
--
Eventually, in the life of every human there comes the time
when e has to sort the bookmark file.
http://www.tmt.de/~stephan/
Re: 0.9.1: v3 key 'expiration date' [ In reply to ]
ralf.stephan@fitug.de writes:

> 5. key has expiration date from 1. and gpg reports that pubkey
> and seckey differ.

I know that the code for expiration date handling is a little bit
ugly and so is the compare function. Can you please tell me the
exact wording of the message from step 5 or where this message
is printed?


Werner
Re: 0.9.1: v3 key 'expiration date' [ In reply to ]
> > 5. key has expiration date from 1. and gpg reports that pubkey
> > and seckey differ.
>
> I know that the code for expiration date handling is a little bit
> ugly and so is the compare function. Can you please tell me the
> exact wording of the message from step 5 or where this message
> is printed?

"secret and public key don't match"

The problem is, I was in random mode so, what was to be expected,
I today can't reproduce the results. Should stick to gpg keys
and keep notes in the future... <g>


ralf
--
http://www.tmt.de/~stephan/