secret key cannot be imported: "no user ID"

DuVall, Rick RDuVall@ahs.llumc.edu
Wed Aug 29 18:32:01 2001


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C130A7.6FD7CD50
Content-Type: text/plain;
	charset="iso-8859-1"

Did you try just moving the key ring files to the new box?

Rick DuVall
Loma Linda University Medical Center
Information Systems
(909) 558 3265 ext. 32830 
RDuVall@ahs.llumc.edu



-----Original Message-----
From: Adam Monsen [mailto:meonkeys@hotmail.com]
Sent: Wednesday, August 29, 2001 09:27
To: gnupg-users@gnupg.org
Subject: secret key cannot be imported: "no user ID"


I was trying to migrate my gpg setup on box_a to box_b. I'm using gpg 1.0.6 
on both boxes. When trying to import the secret key on box_b, it complains 
of "no user ID", even if I import my public key first. Am I doing something 
wrong? Things that don't seem to help:
-removing passphrase from secret key
-exporting from box_a with --no-comment
-specifying secret keyring with --secret-keyring=.gnupg/secring.gpg
-using the hex id rather than userid to specify which key to export

Here's a pseudo-transcript of my activities:
[jimbo@box_a ~]$ gpg -a --export-secret-keys jimbo > test.asc[jimbo@box_a 
~]$ scp test.asc jimbo@box_b:
[jimbo@box_a ~]$ ssh box_b
[jimbo@box_b ~]$ gpg --allow-secret-key-import --import test.asc

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

------_=_NextPart_001_01C130A7.6FD7CD50
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: secret key cannot be imported: &quot;no user =
ID&quot;</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Did you try just moving the key ring files to the new =
box?</FONT>
</P>

<P><FONT SIZE=3D2>Rick DuVall</FONT>
<BR><FONT SIZE=3D2>Loma Linda University Medical Center</FONT>
<BR><FONT SIZE=3D2>Information Systems</FONT>
<BR><FONT SIZE=3D2>(909) 558 3265 ext. 32830 </FONT>
<BR><FONT SIZE=3D2>RDuVall@ahs.llumc.edu</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Adam Monsen [<A =
HREF=3D"mailto:meonkeys@hotmail.com">mailto:meonkeys@hotmail.com</A>]</F=
ONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, August 29, 2001 09:27</FONT>
<BR><FONT SIZE=3D2>To: gnupg-users@gnupg.org</FONT>
<BR><FONT SIZE=3D2>Subject: secret key cannot be imported: &quot;no =
user ID&quot;</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>I was trying to migrate my gpg setup on box_a to =
box_b. I'm using gpg 1.0.6 </FONT>
<BR><FONT SIZE=3D2>on both boxes. When trying to import the secret key =
on box_b, it complains </FONT>
<BR><FONT SIZE=3D2>of &quot;no user ID&quot;, even if I import my =
public key first. Am I doing something </FONT>
<BR><FONT SIZE=3D2>wrong? Things that don't seem to help:</FONT>
<BR><FONT SIZE=3D2>-removing passphrase from secret key</FONT>
<BR><FONT SIZE=3D2>-exporting from box_a with --no-comment</FONT>
<BR><FONT SIZE=3D2>-specifying secret keyring with =
--secret-keyring=3D.gnupg/secring.gpg</FONT>
<BR><FONT SIZE=3D2>-using the hex id rather than userid to specify =
which key to export</FONT>
</P>

<P><FONT SIZE=3D2>Here's a pseudo-transcript of my activities:</FONT>
<BR><FONT SIZE=3D2>[jimbo@box_a ~]$ gpg -a --export-secret-keys jimbo =

&gt; test.asc[jimbo@box_a </FONT>
<BR><FONT SIZE=3D2>~]$ scp test.asc jimbo@box_b:</FONT> <BR><FONT SIZE=3D2>[jimbo@box_a ~]$ ssh box_b</FONT> <BR><FONT SIZE=3D2>[jimbo@box_b ~]$ gpg --allow-secret-key-import = --import test.asc</FONT> </P> <P><FONT = SIZE=3D2>_______________________________________________________________= __</FONT> <BR><FONT SIZE=3D2>Get your FREE download of MSN Explorer at <A = HREF=3D"http://explorer.msn.com/intl.asp" = TARGET=3D"_blank">http://explorer.msn.com/intl.asp</A></FONT> </P> <BR> <P><FONT = SIZE=3D2>_______________________________________________</FONT> <BR><FONT SIZE=3D2>Gnupg-users mailing list</FONT> <BR><FONT SIZE=3D2>Gnupg-users@gnupg.org</FONT> <BR><FONT SIZE=3D2><A = HREF=3D"http://lists.gnupg.org/mailman/listinfo/gnupg-users" = TARGET=3D"_blank">http://lists.gnupg.org/mailman/listinfo/gnupg-users</A=
></FONT>
</P> </BODY> </HTML> ------_=_NextPart_001_01C130A7.6FD7CD50--