Control: found -1 1.1.5-1

* Guilhem Moulin <[email protected]>, 2014-02-26, 07:20:
Are you sure the issue was encountered using 1.1.4-1?

Yes.

I can't reproduce the bug anyway.

I can still reproduce it, even with the current version.

If I set $CONFIG{'mail'} to 'ask-yes' or 'ask-no', and then answer all the “Mail signature for …” negatively, then the messages are saved as expected.

However, if I set it to 'no', no messages are saved.

I've attached .caffrc that I used for testing, and two transcripts (one for 'no', one for 'ask-no') for comparison.

--
Jakub Wilk
$CONFIG{'owner'} = 'Jakub Wilk';
$CONFIG{'mail'} = 'no';
$CONFIG{'email'} = '[email protected]';
$CONFIG{'keyid'} = [ '66608B98F3706A7C' ];
$ rm -rf .caff/keys/* && caff 306C483AFF1F7A5C && file .caff/keys/*/*
[INFO] Importing key 66608B98F3706A7C from your normal GnuPGHome.
[INFO] fetching keys, this will take a while...
[INFO] Sign the following keys according to your policy, then exit gpg with 
'save' after signing each key
gpg --homedir=/home/jwilk/.caff/gnupghome --secret-keyring 
/home/jwilk/.gnupg/secring.gpg --no-auto-check-trustdb --trust-model=always 
--edit 057F5FF9577DA76DCC2168E7306C483AFF1F7A5C sign
gpg (GnuPG) 1.4.16; Copyright (C) 2013 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


pub  1024D/FF1F7A5C  created: 2000-11-21  expires: never       usage: SCA
sub  1024R/A72D100F  created: 2010-06-15  expires: never       usage: S
sub  1024R/D0744CE7  created: 2010-06-15  expires: never       usage: E
sub  1024g/2D879921  created: 2000-11-21  expires: never       usage: E
[ unknown] (1). Lukasz Jachowicz <[email protected]>
[ unknown] (2)  Lukasz Jachowicz <[email protected]>
[ unknown] (3)  Lukasz Jachowicz <[email protected]>
[ unknown] (4)  Lukasz Jachowicz <[email protected]>

Really sign all user IDs? (y/N) y

pub  1024D/FF1F7A5C  created: 2000-11-21  expires: never       usage: SCA
 Primary key fingerprint: 057F 5FF9 577D A76D CC21  68E7 306C 483A FF1F 7A5C

     Lukasz Jachowicz <[email protected]>
     Lukasz Jachowicz <[email protected]>
     Lukasz Jachowicz <[email protected]>
     Lukasz Jachowicz <[email protected]>

Are you sure that you want to sign this key with your
key "Jakub Wilk <[email protected]>" (F3706A7C)

Really sign? (y/N) y

gpg> save
[INFO] 306C483AFF1F7A5C 1 Lukasz Jachowicz <[email protected]> done.
[INFO] 306C483AFF1F7A5C 2 Lukasz Jachowicz <[email protected]> done.
[INFO] 306C483AFF1F7A5C 3 Lukasz Jachowicz <[email protected]> done.
[INFO] 306C483AFF1F7A5C 4 Lukasz Jachowicz <[email protected]> done.
[INFO] key 057F5FF9577DA76DCC2168E7306C483AFF1F7A5C done.
.caff/keys/2014-02-26/306C483AFF1F7A5C.key.1.Lukasz Jachowicz 
<[email protected]>.asc: PGP public key block
.caff/keys/2014-02-26/306C483AFF1F7A5C.key.2.Lukasz Jachowicz 
<[email protected]>.asc:   PGP public key block
.caff/keys/2014-02-26/306C483AFF1F7A5C.key.3.Lukasz Jachowicz 
<[email protected]>.asc: PGP public key block
.caff/keys/2014-02-26/306C483AFF1F7A5C.key.4.Lukasz Jachowicz 
<[email protected]>.asc: PGP public key block
$ rm -rf .caff/keys/* && caff -m ask-no 306C483AFF1F7A5C && file .caff/keys/*/*
[INFO] Importing key 66608B98F3706A7C from your normal GnuPGHome.
[INFO] fetching keys, this will take a while...
[INFO] Sign the following keys according to your policy, then exit gpg with 
'save' after signing each key
gpg --homedir=/home/jwilk/.caff/gnupghome --secret-keyring 
/home/jwilk/.gnupg/secring.gpg --no-auto-check-trustdb --trust-model=always 
--edit 057F5FF9577DA76DCC2168E7306C483AFF1F7A5C sign
gpg (GnuPG) 1.4.16; Copyright (C) 2013 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


pub  1024D/FF1F7A5C  created: 2000-11-21  expires: never       usage: SCA
sub  1024R/A72D100F  created: 2010-06-15  expires: never       usage: S
sub  1024R/D0744CE7  created: 2010-06-15  expires: never       usage: E
sub  1024g/2D879921  created: 2000-11-21  expires: never       usage: E
[ unknown] (1). Lukasz Jachowicz <[email protected]>
[ unknown] (2)  Lukasz Jachowicz <[email protected]>
[ unknown] (3)  Lukasz Jachowicz <[email protected]>
[ unknown] (4)  Lukasz Jachowicz <[email protected]>

Really sign all user IDs? (y/N) y
"Lukasz Jachowicz <[email protected]>" was already signed by key F3706A7C
"Lukasz Jachowicz <[email protected]>" was already signed by key F3706A7C
"Lukasz Jachowicz <[email protected]>" was already signed by key F3706A7C
"Lukasz Jachowicz <[email protected]>" was already signed by key F3706A7C
Nothing to sign with key F3706A7C

gpg> save
Key not changed so no update needed.
[INFO] 306C483AFF1F7A5C 1 Lukasz Jachowicz <[email protected]> done.
[INFO] 306C483AFF1F7A5C 2 Lukasz Jachowicz <[email protected]> done.
[INFO] 306C483AFF1F7A5C 3 Lukasz Jachowicz <[email protected]> done.
[INFO] 306C483AFF1F7A5C 4 Lukasz Jachowicz <[email protected]> done.
[INFO] key 057F5FF9577DA76DCC2168E7306C483AFF1F7A5C done.
Mail signature for Lukasz Jachowicz <[email protected]> to 
'[email protected]'? [y/N] n
Mail signature for Lukasz Jachowicz <[email protected]> to '[email protected]'? 
[y/N] n
Mail signature for Lukasz Jachowicz <[email protected]> to 
'[email protected]'? [y/N] n
Mail signature for Lukasz Jachowicz <[email protected]> to 
'[email protected]'? [y/N] n
.caff/keys/2014-02-26/306C483AFF1F7A5C.key.1.Lukasz Jachowicz 
<[email protected]>.asc:     PGP public key block
.caff/keys/2014-02-26/306C483AFF1F7A5C.key.2.Lukasz Jachowicz 
<[email protected]>.asc:       PGP public key block
.caff/keys/2014-02-26/306C483AFF1F7A5C.key.3.Lukasz Jachowicz 
<[email protected]>.asc:     PGP public key block
.caff/keys/2014-02-26/306C483AFF1F7A5C.key.4.Lukasz Jachowicz 
<[email protected]>.asc:     PGP public key block
.caff/keys/2014-02-26/306C483AFF1F7A5C.mail.unsent.1.Lukasz Jachowicz 
<[email protected]>: multipart/encrypted;, ASCII text
.caff/keys/2014-02-26/306C483AFF1F7A5C.mail.unsent.2.Lukasz Jachowicz 
<[email protected]>:   multipart/encrypted;, ASCII text
.caff/keys/2014-02-26/306C483AFF1F7A5C.mail.unsent.3.Lukasz Jachowicz 
<[email protected]>: multipart/encrypted;, ASCII text
.caff/keys/2014-02-26/306C483AFF1F7A5C.mail.unsent.4.Lukasz Jachowicz 
<[email protected]>: multipart/encrypted;, ASCII text

Reply via email to