Re: [Cooker] invalid key when installing with urpmi

2003-06-26 Thread Guillaume Rousse
Ainsi parlait Jay DeKing :
> I tried putting the "; do" on the same line as the "for", as in Guillaume's
> example - now I get the full text of the keys dumped to stdout, and every
> one of them fails. Example:
> error: E762AD4D.asc: import read failed.
If made an error again: 
gpg --export --armor $key should be gpg --export --armor $key > $key.asc
-- 
Radar tends to fail at night and in bad weather, and especially during both
-- Murphy's Military Laws n°70




Re: [Cooker] invalid key when installing with urpmi

2003-06-26 Thread Jay DeKing
On Wednesday 25 June 2003 9:00 am, Guillaume Rousse honored me with this 
communique:
> Ainsi parlait Adam Williamson :
> > On Wed, 2003-06-25 at 03:22, Jay DeKing wrote:
> > > On Monday 23 June 2003 5:36 pm, zapoyok honored me with this communique:
> > > > Le Lundi 23 Juin 2003 20:22, Guillaume Rousse a écrit :
> > > > > for keys in `gpg --list-keys | grep pub | cut -d " " -f 3 | cut -d
> > > > > "/" -f 2`; do
> > > > > gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f
> > > > > $key.asc; done
> > > >
> > > > for key in `gpg --list-keys | grep 'pub '| cut -d " " -f 3 | cut -d
> > > > "/" -f 2`; do
> > > > gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f
> > > > $key.asc; done
> > > >
> > > > is better no ??
> > >
> > > No.
> > >
> > > ./fixkeys: line 5:  : command not found
> > > error: 604AA4E4.asc: import read failed.
> >
> > 
> >
> > Are you sure you copy / pasted correctly? As I read it, there *aren't*
> > five lines in that scriptlet.
>
> Here it is again, with 5 lines denoted by indentation:
> for key in `gpg --list-keys | grep pub | tail +2 | cut -d " " -f 3 | cut -d
> "/" -f 2`; do
>   gpg --export --armor $key;
>   rpm --import $key.asc;
>   rm -f $key.asc;
> done

There weren't 5 lines in my scriptlet, but the word-wrap in my email made it 
look that way. Sorry about the confusion.

I tried putting the "; do" on the same line as the "for", as in Guillaume's 
example - now I get the full text of the keys dumped to stdout, and every one 
of them fails. Example:
error: E762AD4D.asc: import read failed.

If I run the same script via sudo, I get the following (ignore the word wrap, 
it's all on one line) in each case, after the full text of the keys:
gpg: WARNING: unsafe ownership on configuration file 
"/home/jdeking1/.gnupg/gpg.conf"

The permissions on all files with ~/.gnupg are: -rw--- and I (not root) am 
the owner. Is this the correct permission level? It seems that it should be.

Thanks
Jay DeKing
aka "that damn Yank"

-- 
Opportunity is missed by most people because it is dressed
in overalls and looks like work.
- Thomas Edison




Re: [Cooker] invalid key when installing with urpmi

2003-06-25 Thread Adam Williamson
On Wed, 2003-06-25 at 14:00, Guillaume Rousse wrote:

> > > ./fixkeys: line 5:  : command not found
> > > error: 604AA4E4.asc: import read failed.
> >
> > 
> >
> > Are you sure you copy / pasted correctly? As I read it, there *aren't*
> > five lines in that scriptlet.
> 
> Here it is again, with 5 lines denoted by indentation:
> for key in `gpg --list-keys | grep pub | tail +2 | cut -d " " -f 3 | cut -d 
> "/" -f 2`; do
>   gpg --export --armor $key;
>   rpm --import $key.asc;
>   rm -f $key.asc;
> done

Ah, that reads better. Thanks.
-- 
adamw




Re: [Cooker] invalid key when installing with urpmi

2003-06-25 Thread Guillaume Rousse
Ainsi parlait Adam Williamson :
> On Wed, 2003-06-25 at 03:22, Jay DeKing wrote:
> > On Monday 23 June 2003 5:36 pm, zapoyok honored me with this communique:
> > > Le Lundi 23 Juin 2003 20:22, Guillaume Rousse a écrit :
> > > > for keys in `gpg --list-keys | grep pub | cut -d " " -f 3 | cut -d
> > > > "/" -f 2`; do
> > > > gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f
> > > > $key.asc; done
> > >
> > > for key in `gpg --list-keys | grep 'pub '| cut -d " " -f 3 | cut -d "/"
> > > -f 2`; do
> > > gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f
> > > $key.asc; done
> > >
> > > is better no ??
> >
> > No.
> >
> > ./fixkeys: line 5:  : command not found
> > error: 604AA4E4.asc: import read failed.
>
> 
>
> Are you sure you copy / pasted correctly? As I read it, there *aren't*
> five lines in that scriptlet.

Here it is again, with 5 lines denoted by indentation:
for key in `gpg --list-keys | grep pub | tail +2 | cut -d " " -f 3 | cut -d 
"/" -f 2`; do
gpg --export --armor $key;
rpm --import $key.asc;
rm -f $key.asc;
done

-- 
A dropped part will always roll to the exact geographic center of the largest 
available object for it to roll under
-- Murphy's Laws of Locksmithing n°5




Re: [Cooker] invalid key when installing with urpmi

2003-06-24 Thread Adam Williamson
On Wed, 2003-06-25 at 03:22, Jay DeKing wrote:
> On Monday 23 June 2003 5:36 pm, zapoyok honored me with this communique:
> > Le Lundi 23 Juin 2003 20:22, Guillaume Rousse a écrit :
> > > for keys in `gpg --list-keys | grep pub | cut -d " " -f 3 | cut -d "/" -f
> > > 2`; do
> > > gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f
> > > $key.asc; done
> >
> > for key in `gpg --list-keys | grep 'pub '| cut -d " " -f 3 | cut -d "/" -f
> > 2`; do
> > gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f $key.asc;
> > done
> >
> > is better no ??
> 
> No.
> 
> ./fixkeys: line 5:  : command not found
> error: 604AA4E4.asc: import read failed.



Are you sure you copy / pasted correctly? As I read it, there *aren't*
five lines in that scriptlet.
-- 
adamw




Re: [Cooker] invalid key when installing with urpmi

2003-06-24 Thread Jay DeKing
On Monday 23 June 2003 5:36 pm, zapoyok honored me with this communique:
> Le Lundi 23 Juin 2003 20:22, Guillaume Rousse a écrit :
> > for keys in `gpg --list-keys | grep pub | cut -d " " -f 3 | cut -d "/" -f
> > 2`; do
> > gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f
> > $key.asc; done
>
> for key in `gpg --list-keys | grep 'pub '| cut -d " " -f 3 | cut -d "/" -f
> 2`; do
> gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f $key.asc;
> done
>
> is better no ??

No.

./fixkeys: line 5:  : command not found
error: 604AA4E4.asc: import read failed.
./fixkeys: line 5:  : command not found
error: 70771FF3.asc: import read failed.
./fixkeys: line 5:  : command not found
error: D24E4AE5.asc: import read failed.
./fixkeys: line 5:  : command not found
error: D2A61D44.asc: import read failed.
./fixkeys: line 5:  : command not found
error: 14B06977.asc: import read failed.
./fixkeys: line 5:  : command not found
error: E90158E1.asc: import read failed.
./fixkeys: line 5:  : command not found
error: B67EADBD.asc: import read failed.
./fixkeys: line 5:  : command not found
error: A9B8151F.asc: import read failed.
./fixkeys: line 5:  : command not found
error: FE6F2AFD.asc: import read failed.
./fixkeys: line 5:  : command not found
error: 60D204A7.asc: import read failed.
./fixkeys: line 5:  : command not found
error: C67186FF.asc: import read failed.
./fixkeys: line 5:  : command not found
error: E89A8751.asc: import read failed.
./fixkeys: line 5:  : command not found
error: C543B550.asc: import read failed.
./fixkeys: line 5:  : command not found
error: E762AD4D.asc: import read failed.
-- 
Opportunity is missed by most people because it is dressed
in overalls and looks like work.
- Thomas Edison




Re: [Cooker] invalid key when installing with urpmi

2003-06-23 Thread zapoyok
Le Lundi 23 Juin 2003 20:22, Guillaume Rousse a écrit :
> for keys in `gpg --list-keys | grep pub | cut -d " " -f 3 | cut -d "/" -f
> 2`; do
> gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f $key.asc;
> done

for key in `gpg --list-keys | grep 'pub '| cut -d " " -f 3 | cut -d "/" -f 2`; 
do
gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f $key.asc; 
done

is better no ??


-- 
Jerome FIX <[EMAIL PROTECTED]>
http://www.aufilduweb.com
http://zapoyok.dnsalias.com

"lynx -source http://zapoyok.dnsalias.com/bio/zapoyok.asc | gpg --import"




Re: [Cooker] invalid key when installing with urpmi

2003-06-23 Thread Guillaume Rousse
Ainsi parlait Kim Schulz :
> On Mon, 23 Jun 2003 20:22:01 +0200
>
> Guillaume Rousse <[EMAIL PROTECTED]> wrote:
> > Ainsi parlait Kim Schulz :
> > > Hi
> > > I keep getting this:
> > >  Invalid signature (sha1 md5 (GPG) (MISSING KEY) GPG#70771ff3 NOT
> > >  OK)
> > > when Installing rpms with urpmi.
> > > How do I install the correct keys?
> >
> > for keys in `gpg --list-keys | grep pub | cut -d " " -f 3 | cut -d "/"
> > -f 2`; do
> > gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f
> > $key.asc;
> > done
>
> just did that as root and it didn't help a bit.
check the keys are properly installed:
rpm -qa gpg-pubkey-*

Otherwise, proceed manually: extract all public keys from root's keyring, and 
import them in rpm database.

If you still get  Invalid signature, check the package are signed:
rpm --checksig -v *.rpm
-- 
If such a program has not crashed yet, it is waiting for a critical moment 
before it crashes. 
-- Murphy's Computer Laws n°6




Re: [Cooker] invalid key when installing with urpmi

2003-06-23 Thread Kim Schulz
On Mon, 23 Jun 2003 20:22:01 +0200
Guillaume Rousse <[EMAIL PROTECTED]> wrote:
> Ainsi parlait Kim Schulz :
> > Hi
> > I keep getting this:
> >  Invalid signature (sha1 md5 (GPG) (MISSING KEY) GPG#70771ff3 NOT
> >  OK)
> > when Installing rpms with urpmi.
> > How do I install the correct keys?
> for keys in `gpg --list-keys | grep pub | cut -d " " -f 3 | cut -d "/"
> -f 2`; do
> gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f
> $key.asc; 
> done

just did that as root and it didn't help a bit. 



-- 
Navn  : Kim Schulz  | No man's ambition has a right to stand in the
Email : kim @ schulz.dk | way of performing a simple act of justice.   
WWW   : www.schulz.dk   | -- John Altgeld 



Re: [Cooker] invalid key when installing with urpmi

2003-06-23 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guillaume Rousse wrote:
> Ainsi parlait Kim Schulz :
>
>>Hi
>>I keep getting this:
>> Invalid signature (sha1 md5 (GPG) (MISSING KEY) GPG#70771ff3 NOT OK)
>>when Installing rpms with urpmi.
>>How do I install the correct keys?
>
> for keys in `gpg --list-keys | grep pub | cut -d " " -f 3 | cut -d "/"
- -f 2`;
> do
> gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f
$key.asc;
> done

And maybe it's time to file a bug against the rpm package, which should
import Mandrake keys if they don't exist in the rpm keyring?

Buchan

- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+90jvrJK6UGDSBKcRAhtMAJ0e6x41VfnoOV/f/qcuQ9Wn6ojE2gCfX4Q1
dMH4OADyxGdEFoVnClAzhjE=
=MkXB
-END PGP SIGNATURE-

**
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
**



Re: [Cooker] invalid key when installing with urpmi

2003-06-23 Thread Guillaume Rousse
Ainsi parlait Kim Schulz :
> Hi
> I keep getting this:
>  Invalid signature (sha1 md5 (GPG) (MISSING KEY) GPG#70771ff3 NOT OK)
> when Installing rpms with urpmi.
> How do I install the correct keys?
for keys in `gpg --list-keys | grep pub | cut -d " " -f 3 | cut -d "/" -f 2`; 
do
gpg --export -a $key > $key.asc; rpm --import $key.asc; rm -f $key.asc; 
done
-- 
When you finally buy enough memory, you will not have enough disk space. 
-- Murphy's Computer Laws n°3