Re: [expert] GPG and signing rpms.

2003-07-20 Thread David E Fox
Somebody scribbled about [expert] GPG and signing rpms.
Ok,

  Went to this page.

http://www.mandrakelinux.com/en/cookerdevel.php3

I did as well today in preparation for remigrating to cooker (ps I would 
like very much a gtkatlantic rpm) and ran into something strange. Also I 
got some wierd pages not found, such as qa.mandrakesoft.com - I wanted to 
get the public key, so that I wouldn't get those bad signature messages 
every time I tried to urpmi. By the way, the key import worked well this 
time with plf.

Going through the directions as I type random keys on the keyboard results 
in this error:

gpg: no writable public keyring found: eof
Key generation failed: eof

Is it a permissions thing? I'm doing it as a regular unprivileged user.


following the instructions I created the .rpmmacros file edited it as it
outlined.

then I did

gpg --gen-key  filled in the blanks ... generated a key.

now when I do (as the same user) rpm --sign --clean -ba somerpm.spec it
asks for the passphrase... I enter the same one I did during the key-gen
phase.. and I get Pass phrase check failed Anyone have a clue as to
what I did wrong?

James


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] GPG and signing rpms.

2003-07-10 Thread R N dev
Today i can't make tests, but tomorrow i'll be
free and probably online so i'll try to be more
usefull.
I remember that i had a long passprhase with blanks
and it didn't work. I chose a simple word to try if
it could work and that was right so i didn't
change it and now i use that key with that passprhase.

Try this way. Hope it can help

Angelo

--- James Sparenberg [EMAIL PROTECTED] wrote:
 On Wed, 2003-07-09 at 05:13, R N dev wrote:
  my gnupg version is 1.2.2-1.1mdk
  Anyway I usually rebuild my RPMs as root so
  I don't know if i have the same problem as normal
  user.
  
  Angelo
 
 Same here actually.. especially if I have to build
 on RH (it's easier
 than fixing all of the path problems it has.)  But
 despite some valuable
 info... I still can't get MDK to sign rpms.  
 
 James
 
  --- James Sparenberg [EMAIL PROTECTED]
 wrote:
   On Mon, 2003-07-07 at 01:21, R N dev wrote:
once, i had the same problem, i don't know
if it is related but after having update the 
gpg (form mdk update) i haven't got it any
 more.

(i deleted ~/.gnupg directory and re-generated
 the
key)
Angelo
   
   Hm I should be uptodate... what version do
 you
   have? (and the key
   has been regened about 5 times now*grin*)
   
   James

--- James Sparenberg [EMAIL PROTECTED]
   wrote:
 Ok,
 
   Went to this page.  
 

 http://www.mandrakelinux.com/en/cookerdevel.php3
 
 following the instructions I created the
   .rpmmacros
 file edited it as it
 outlined.  
 
 then I did 
 
 gpg --gen-key  filled in the blanks ...
   generated a
 key.
 
 now when I do (as the same user) rpm --sign
   --clean
 -ba somerpm.spec it
 asks for the passphrase... I enter the same
 one
   I
 did during the key-gen
 phase.. and I get Pass phrase check
 failed
 Anyone have a clue as to
 what I did wrong?
 
 James
 
 
 
  Want to buy your Pack or Services from
MandrakeSoft?
 
 Go to http://www.mandrakestore.com
 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


   
  
 

__
Want to buy your Pack or Services from
   MandrakeSoft? 
Go to http://www.mandrakestore.com
   
   
Want to buy your Pack or Services from
  MandrakeSoft?
   
   Go to http://www.mandrakestore.com
   
  
  
  __
  Do you Yahoo!?
  SBC Yahoo! DSL - Now only $29.95 per month!
  http://sbc.yahoo.com
  
  
 

__
  Want to buy your Pack or Services from
 MandrakeSoft? 
  Go to http://www.mandrakestore.com
 
 
  Want to buy your Pack or Services from
MandrakeSoft?
 
 Go to http://www.mandrakestore.com
 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] GPG and signing rpms.

2003-07-10 Thread James Sparenberg
On Thu, 2003-07-10 at 04:57, R N dev wrote:
 Today i can't make tests, but tomorrow i'll be
 free and probably online so i'll try to be more
 usefull.
 I remember that i had a long passprhase with blanks
 and it didn't work. I chose a simple word to try if
 it could work and that was right so i didn't
 change it and now i use that key with that passprhase.
 
 Try this way. Hope it can help
 
 Angelo

Angelo it would be appreciated.  I've been trying to get it to work here
and what I have found is that I can sign everything BUT an rpm grr.

James

 
 --- James Sparenberg [EMAIL PROTECTED] wrote:
  On Wed, 2003-07-09 at 05:13, R N dev wrote:
   my gnupg version is 1.2.2-1.1mdk
   Anyway I usually rebuild my RPMs as root so
   I don't know if i have the same problem as normal
   user.
   
   Angelo
  
  Same here actually.. especially if I have to build
  on RH (it's easier
  than fixing all of the path problems it has.)  But
  despite some valuable
  info... I still can't get MDK to sign rpms.  
  
  James
  
   --- James Sparenberg [EMAIL PROTECTED]
  wrote:
On Mon, 2003-07-07 at 01:21, R N dev wrote:
 once, i had the same problem, i don't know
 if it is related but after having update the 
 gpg (form mdk update) i haven't got it any
  more.
 
 (i deleted ~/.gnupg directory and re-generated
  the
 key)
 Angelo

Hm I should be uptodate... what version do
  you
have? (and the key
has been regened about 5 times now*grin*)

James
 
 --- James Sparenberg [EMAIL PROTECTED]
wrote:
  Ok,
  
Went to this page.  
  
 
  http://www.mandrakelinux.com/en/cookerdevel.php3
  
  following the instructions I created the
.rpmmacros
  file edited it as it
  outlined.  
  
  then I did 
  
  gpg --gen-key  filled in the blanks ...
generated a
  key.
  
  now when I do (as the same user) rpm --sign
--clean
  -ba somerpm.spec it
  asks for the passphrase... I enter the same
  one
I
  did during the key-gen
  phase.. and I get Pass phrase check
  failed
  Anyone have a clue as to
  what I did wrong?
  
  James
  
  
  
   Want to buy your Pack or Services from
 MandrakeSoft?
  
  Go to http://www.mandrakestore.com
  
 
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.yahoo.com
 
 

   
  
 
 __
 Want to buy your Pack or Services from
MandrakeSoft? 
 Go to http://www.mandrakestore.com


 Want to buy your Pack or Services from
   MandrakeSoft?

Go to http://www.mandrakestore.com

   
   
   __
   Do you Yahoo!?
   SBC Yahoo! DSL - Now only $29.95 per month!
   http://sbc.yahoo.com
   
   
  
 
 __
   Want to buy your Pack or Services from
  MandrakeSoft? 
   Go to http://www.mandrakestore.com
  
  
   Want to buy your Pack or Services from
 MandrakeSoft?
  
  Go to http://www.mandrakestore.com
  
 
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.yahoo.com
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] GPG and signing rpms.

2003-07-09 Thread R N dev
my gnupg version is 1.2.2-1.1mdk
Anyway I usually rebuild my RPMs as root so
I don't know if i have the same problem as normal
user.

Angelo
--- James Sparenberg [EMAIL PROTECTED] wrote:
 On Mon, 2003-07-07 at 01:21, R N dev wrote:
  once, i had the same problem, i don't know
  if it is related but after having update the 
  gpg (form mdk update) i haven't got it any more.
  
  (i deleted ~/.gnupg directory and re-generated the
  key)
  Angelo
 
 Hm I should be uptodate... what version do you
 have? (and the key
 has been regened about 5 times now*grin*)
 
 James
  
  --- James Sparenberg [EMAIL PROTECTED]
 wrote:
   Ok,
   
 Went to this page.  
   
   http://www.mandrakelinux.com/en/cookerdevel.php3
   
   following the instructions I created the
 .rpmmacros
   file edited it as it
   outlined.  
   
   then I did 
   
   gpg --gen-key  filled in the blanks ...
 generated a
   key.
   
   now when I do (as the same user) rpm --sign
 --clean
   -ba somerpm.spec it
   asks for the passphrase... I enter the same one
 I
   did during the key-gen
   phase.. and I get Pass phrase check failed
   Anyone have a clue as to
   what I did wrong?
   
   James
   
   
   
Want to buy your Pack or Services from
  MandrakeSoft?
   
   Go to http://www.mandrakestore.com
   
  
  
  __
  Do you Yahoo!?
  SBC Yahoo! DSL - Now only $29.95 per month!
  http://sbc.yahoo.com
  
  
 

__
  Want to buy your Pack or Services from
 MandrakeSoft? 
  Go to http://www.mandrakestore.com
 
 
  Want to buy your Pack or Services from
MandrakeSoft?
 
 Go to http://www.mandrakestore.com
 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] GPG and signing rpms.

2003-07-09 Thread James Sparenberg
On Wed, 2003-07-09 at 05:13, R N dev wrote:
 my gnupg version is 1.2.2-1.1mdk
 Anyway I usually rebuild my RPMs as root so
 I don't know if i have the same problem as normal
 user.
 
 Angelo

Same here actually.. especially if I have to build on RH (it's easier
than fixing all of the path problems it has.)  But despite some valuable
info... I still can't get MDK to sign rpms.  

James

 --- James Sparenberg [EMAIL PROTECTED] wrote:
  On Mon, 2003-07-07 at 01:21, R N dev wrote:
   once, i had the same problem, i don't know
   if it is related but after having update the 
   gpg (form mdk update) i haven't got it any more.
   
   (i deleted ~/.gnupg directory and re-generated the
   key)
   Angelo
  
  Hm I should be uptodate... what version do you
  have? (and the key
  has been regened about 5 times now*grin*)
  
  James
   
   --- James Sparenberg [EMAIL PROTECTED]
  wrote:
Ok,

  Went to this page.  

http://www.mandrakelinux.com/en/cookerdevel.php3

following the instructions I created the
  .rpmmacros
file edited it as it
outlined.  

then I did 

gpg --gen-key  filled in the blanks ...
  generated a
key.

now when I do (as the same user) rpm --sign
  --clean
-ba somerpm.spec it
asks for the passphrase... I enter the same one
  I
did during the key-gen
phase.. and I get Pass phrase check failed
Anyone have a clue as to
what I did wrong?

James



 Want to buy your Pack or Services from
   MandrakeSoft?

Go to http://www.mandrakestore.com

   
   
   __
   Do you Yahoo!?
   SBC Yahoo! DSL - Now only $29.95 per month!
   http://sbc.yahoo.com
   
   
  
 
 __
   Want to buy your Pack or Services from
  MandrakeSoft? 
   Go to http://www.mandrakestore.com
  
  
   Want to buy your Pack or Services from
 MandrakeSoft?
  
  Go to http://www.mandrakestore.com
  
 
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.yahoo.com
 
 
 __
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] GPG and signing rpms.

2003-07-08 Thread Charles A Edwards
On 07 Jul 2003 12:36:37 -0700
James Sparenberg [EMAIL PROTECTED] wrote:

 Charles I got part of this from another source.  But one question...
 is the (security) a constant I should insert or do I do that
 literally?

Yes you list it as a constant

Your_name (security) Your_email

If you use a GUI program such as seahorse you can easily see that you
have more than one key.
You have a public and a secure.
If you do not list which to use in your rpmmarcos you will always get
the failed pass phrase.


Charles

-- 
It is one thing to praise discipline, and another to submit to it.
-- Cervantes
-
Mandrake Linux 9.2 on PurpleDragon
Kernel- 2.4.21.3mdk http://www.eslrahc.com 
-




pgp0.pgp
Description: PGP signature


Re: [expert] GPG and signing rpms.

2003-07-08 Thread James Sparenberg
On Tue, 2003-07-08 at 05:59, Charles A Edwards wrote:
 On 07 Jul 2003 12:36:37 -0700
 James Sparenberg [EMAIL PROTECTED] wrote:
 
  Charles I got part of this from another source.  But one question...
  is the (security) a constant I should insert or do I do that
  literally?
 
 Yes you list it as a constant
 
 Your_name (security) Your_email
 
 If you use a GUI program such as seahorse you can easily see that you
 have more than one key.
 You have a public and a secure.
 If you do not list which to use in your rpmmarcos you will always get
 the failed pass phrase.

I'll check out seahorse, and it makes sense... I sign with secret, check
with public.  K will try this  I'd love to get this product into
contribs for 9.2 (kyim a yahoo messenger client that works)  

James

 
 
 Charles


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] GPG and signing rpms.

2003-07-07 Thread R N dev
once, i had the same problem, i don't know
if it is related but after having update the 
gpg (form mdk update) i haven't got it any more.

(i deleted ~/.gnupg directory and re-generated the
key)
Angelo

--- James Sparenberg [EMAIL PROTECTED] wrote:
 Ok,
 
   Went to this page.  
 
 http://www.mandrakelinux.com/en/cookerdevel.php3
 
 following the instructions I created the .rpmmacros
 file edited it as it
 outlined.  
 
 then I did 
 
 gpg --gen-key  filled in the blanks ... generated a
 key.
 
 now when I do (as the same user) rpm --sign --clean
 -ba somerpm.spec it
 asks for the passphrase... I enter the same one I
 did during the key-gen
 phase.. and I get Pass phrase check failed
 Anyone have a clue as to
 what I did wrong?
 
 James
 
 
 
  Want to buy your Pack or Services from
MandrakeSoft?
 
 Go to http://www.mandrakestore.com
 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] GPG and signing rpms.

2003-07-07 Thread Charles A Edwards
On 06 Jul 2003 21:38:35 -0700
James Sparenberg [EMAIL PROTECTED] wrote:

 now when I do (as the same user) rpm --sign --clean -ba somerpm.spec
 it asks for the passphrase... I enter the same one I did during the
 key-gen phase.. and I get Pass phrase check failed.


Unfortunately the Mdk rpm-how-to is not completly up-to-date 

For gpg your rpmmarcos should read
%_gpg_name  your_name (security) your_email


Charles

-- 
Necessity has no law.
-- St. Augustine
-
Mandrake Linux 9.2 on PurpleDragon
Kernel- 2.4.21.3mdk http://www.eslrahc.com 
-



pgp0.pgp
Description: PGP signature


Re: [expert] GPG and signing rpms.

2003-07-07 Thread Greg Meyer
On Monday 07 July 2003 12:38 am, James Sparenberg wrote:
 Ok,

   Went to this page.

 http://www.mandrakelinux.com/en/cookerdevel.php3

 following the instructions I created the .rpmmacros file edited it as it
 outlined.

 then I did

 gpg --gen-key  filled in the blanks ... generated a key.

 now when I do (as the same user) rpm --sign --clean -ba somerpm.spec it
 asks for the passphrase... I enter the same one I did during the key-gen
 phase.. and I get Pass phrase check failed Anyone have a clue as to
 what I did wrong?

Did you create a key as user but build as root?
-- 
/g

Outside of a dog, a man's best friend is a book, inside
a dog it's too dark to read -Groucho Marx

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] GPG and signing rpms.

2003-07-07 Thread James Sparenberg
On Mon, 2003-07-07 at 04:33, Charles A Edwards wrote:
 On 06 Jul 2003 21:38:35 -0700
 James Sparenberg [EMAIL PROTECTED] wrote:
 
  now when I do (as the same user) rpm --sign --clean -ba somerpm.spec
  it asks for the passphrase... I enter the same one I did during the
  key-gen phase.. and I get Pass phrase check failed.
 
 
 Unfortunately the Mdk rpm-how-to is not completly up-to-date 
 
 For gpg your rpmmarcos should read
 %_gpg_name  your_name (security) your_email
 
 
 Charles

Charles I got part of this from another source.  But one question... is
the (security) a constant I should insert or do I do that literally?

James



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] GPG and signing rpms.

2003-07-06 Thread Lyvim Xaphir
On Mon, 2003-07-07 at 00:38, James Sparenberg wrote:
 Ok,
 
   Went to this page.  
 
 http://www.mandrakelinux.com/en/cookerdevel.php3
 
 following the instructions I created the .rpmmacros file edited it as it
 outlined.  
 
 then I did 
 
 gpg --gen-key  filled in the blanks ... generated a key.
 
 now when I do (as the same user) rpm --sign --clean -ba somerpm.spec it
 asks for the passphrase... I enter the same one I did during the key-gen
 phase.. and I get Pass phrase check failed Anyone have a clue as to
 what I did wrong?
 
 James
 

No, but if we can attract Vincent Danen's attention I'm sure he can put
you on the right track asap. :)

--LX

-- 

Kernel 2.4.21-0.13mdk   Linux Mandrake 9.1
Enlightenment-0.16.5-12mdk  Evolution 1.2.4-1.1mdk
Linux User #268899 http://counter.li.org/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com