how-to 1) remove a key, 2) avoid spam, 3) add a principal UID when delete ?

2009-01-01 Thread Raphaël Maville
1) How to delete an unpublished GnuPG key from a computer when the
Passphrase and the Revoke file are lost ?
This key was create without revoke file. It was not published at all on
internet or to my friends.

2) How to avoid spaming to my mail boxes, is it better to do not mention
it on a gnuPG key ?


3) How to add a "principal" uid to a key ?
I had removed the principal UID because I wanted to modify the firstname
("trema" not well prompted). And then I can only add sub-uid.


Thanks


signature.asc
Description: Ceci est une partie de message	numériquement signée
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Problem when compiling libgcrypt1.4.3 on Solaris 10 (sparc)

2009-01-01 Thread raocheng
When I compile libgrypt1.4.3 on Solaris 10 (sparc), there is the following
error:

/bin/bash ../libtool --tag=CC--mode=link gcc -I/usr/local/include  -g
-O2 -Wall -Wpointer-arith  -version-info  16:1:5  -o libgcrypt.la -rpath
/usr/local/lib libgcrypt_la-visibility.lo  libgcrypt_la-misc.lo
libgcrypt_la-global.lo  libgcrypt_la-sexp.lo libgcrypt_la-hwfeatures.lo
libgcrypt_la-stdmem.lo libgcrypt_la-secmem.lo
libgcrypt_la-missing-string.lo libgcrypt_la-module.lo  libgcrypt_la-fips.lo
libgcrypt_la-hmac256.lo  libgcrypt_la-ath.lo ../cipher/libcipher.la
../random/librandom.la  ../mpi/libmpi.la  -L/usr/local/lib -lgpg-error
-lsocket -lsocket
gcc -shared -Wl,-h -Wl,libgcrypt.so.11 -o .libs/libgcrypt.so.11.5.1
.libs/libgcrypt_la-visibility.o .libs/libgcrypt_la-misc.o
.libs/libgcrypt_la-global.o .libs/libgcrypt_la-sexp.o
.libs/libgcrypt_la-hwfeatures.o .libs/libgcrypt_la-stdmem.o
.libs/libgcrypt_la-secmem.o .libs/libgcrypt_la-missing-string.o
.libs/libgcrypt_la-module.o .libs/libgcrypt_la-fips.o
.libs/libgcrypt_la-hmac256.o .libs/libgcrypt_la-ath.o -z allextract
../cipher/.libs/libcipher.a ../random/.libs/librandom.a
../mpi/.libs/libmpi.a -z defaultextract  -R/usr/local/lib -R/usr/local/lib
-L/usr/local/lib /usr/local/lib/libgpg-error.so -lsocket -lc
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-add1-asm.o): symbol : offset 0xfe65b722
is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-add1-asm.o): symbol : offset 0xfe65b726
is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-add1-asm.o): symbol : offset 0xfe65b72a
is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-lshift-asm.o): symbol : offset
0xfe65bc39 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-lshift-asm.o): symbol : offset
0xfe65bc3f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-lshift-asm.o): symbol : offset
0xfe65bc43 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-lshift-asm.o): symbol : offset
0xfe65bc47 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-rshift-asm.o): symbol : offset
0xfe65bc93 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-rshift-asm.o): symbol : offset
0xfe65bc99 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-rshift-asm.o): symbol : offset
0xfe65bc9d is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-rshift-asm.o): symbol : offset
0xfe65bca1 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(udiv-asm.o): symbol : offset 0xfe65bced is
non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(udiv-asm.o): symbol : offset 0xfe65bcf3 is
non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(udiv-asm.o): symbol : offset 0xfe65bcf7 is
non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(udiv-asm.o): symbol : offset 0xfe65bcfb is
non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-add1-asm.o): symbol : offset 0xfe69e579
is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-lshift-asm.o): symbol : offset
0xfe69f531 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-rshift-asm.o): symbol : offset
0xfe69f5a2 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(udiv-asm.o): symbol : offset 0xfe69f609 is
non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-add1-asm.o): symbol : offset 0xfe6a9ebe
is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-lshift-asm.o): symbol : offset
0xfe6a9f5e is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(mpih-rshift-asm.o): symbol : offset
0xfe6a9f7e is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
../mpi/.libs/libmpi.a(udiv-asm.o): symbol : offset 0xfe6a9f9e is
non-aligned
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libgcrypt.la'
Current working directory /opt/OpenLdap/libgcrypt-1.4.3/src
 

Thank you for any suggestion !
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: how-to 1) remove a key, 2) avoid spam, 3) add a principal UID when delete ?

2009-01-01 Thread John W. Moore III
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Raphaël Maville wrote:
> 1) How to delete an unpublished GnuPG key from a computer when the
> Passphrase and the Revoke file are lost ?
> This key was create without revoke file. It was not published at all on
> internet or to my friends.

If You're certain the Key has _not_ been disseminated anywhere & there
is nothing encrypted to it that You may wish to recover if/when the
passphrase is 'remembered' then just delete it.

> 2) How to avoid spaming to my mail boxes, is it better to do not mention
> it on a gnuPG key ?

This is much debated.  I belong to the camp that believes having the
Email Address within the Key UID makes no difference.  Not having an
email address associated with Your Key makes utilizing it in some
situations impossible. [Key selection by Address, Creating a Big Lumber
listing, etc.]

> 3) How to add a "principal" uid to a key ?
> I had removed the principal UID because I wanted to modify the firstname
> ("trema" not well prompted). And then I can only add sub-uid.

Create the UID You want on the Key and then set it as Primary.  Go to
the UID You're unhappy with and revoke it.  If the Key has never been
published to any Keyserver then You can simply delete the revoked UID.
If it has then re-publish the Key with revoked UID to the Servers.

HTH

JOHN ;)
Timestamp: Thursday 01 Jan 2009, 16:40  --500 (Eastern Standard Time)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10-svn4907: (MingW32)
Comment: Public Key at:  http://tinyurl.com/8cpho
Comment: Gossamer Spider Web of Trust: https://www.gswot.org
Comment: Homepage:  http://tinyurl.com/yzhbhx

iQEcBAEBCgAGBQJJXThaAAoJEBCGy9eAtCsPY2gH/24to55ybDdBLbVIf91ADaQe
kZI6vsZBmYqKZSeMsxbKaeTvF4ACXeicwRS5Xx9WFD1uW44i/wN3n7xAti9zeG2D
H2JWcqsajzKgS2iPx7+Lo44Vb6EEeGxv0fOrFgmmenKWioWYQqIHaA9mAzAdIBju
g1uexlKUB+rvsjdR5Ld65e5mawZ6HXF2c4xLtWLj31k2E1cTn2skDGEWywmElm2W
1jjZeoto/VS/uqrO1g2nm150R9IxbZ7l8L2HrqA1R2AUg5/+R5ZHepLhS5tD5SDF
H2TVZrKnHib7H+wPTJNAQ594/YTSEf6x0nh/y0EN6EOd/y4mWG38V8se0c+hVwA=
=G8td
-END PGP SIGNATURE-

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


Re: how-to 1) remove a key, 2) avoid spam, 3) add a principal UID when delete ?

2009-01-01 Thread Robert J. Hansen
John W. Moore III wrote:
> If You're certain the Key has _not_ been disseminated anywhere & there
> is nothing encrypted to it that You may wish to recover if/when the
> passphrase is 'remembered' then just delete it.

I think the OP was looking for "gpg --delete-key" and "gpg
--delete-private-key".

> This is much debated.  I belong to the camp that believes having the
> Email Address within the Key UID makes no difference.

Agreed.

> Create the UID You want on the Key and then set it as Primary.  Go to
> the UID You're unhappy with and revoke it.  If the Key has never been
> published to any Keyserver then You can simply delete the revoked UID.
> If it has then re-publish the Key with revoked UID to the Servers.

Might also be worth mentioning that the idea of "primary UID" is kind of
poorly defined.  No OpenPGP application (that I know of) does anything
special with them.  All it affects is which UID GnuPG and PGP will
display first.  Nothing more.



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


Re: how-to 1) remove a key, 2) avoid spam, 3) add a principal UID when delete ?

2009-01-01 Thread David Shaw

On Dec 25, 2008, at 7:04 PM, Raphaël Maville wrote:


1) How to delete an unpublished GnuPG key from a computer when the
Passphrase and the Revoke file are lost ?
This key was create without revoke file. It was not published at all  
on

internet or to my friends.


Since it was never distributed, then you're in luck.  You can just  
delete the key and be done with it.


  gpg --delete-secret-and-public-keys (yourkey)

2) How to avoid spaming to my mail boxes, is it better to do not  
mention

it on a gnuPG key ?


This a matter of debate.  I don't think that spammers really care  
about OpenPGP keys in particular.  In practice, the number of email  
addresses on the keyservers aren't that great compared to other places  
they pull addresses from.  The spammers might vacuum up some addresses  
if someone links to the keyserver from a web page, but I doubt the  
keyservers are being targeted specifically.  For most people, the  
benefits of having an email address on your key outweigh the minor  
risk of getting a few extra pieces of spam.



3) How to add a "principal" uid to a key ?
I had removed the principal UID because I wanted to modify the  
firstname

("trema" not well prompted). And then I can only add sub-uid.


If there is only one UID, then it is the primary UID and you don't  
need to do anything.  If there are multiple UIDs, then you can pick  
one to tag as the primary via --edit-key.  That said, "primary"  
doesn't really do very much - it's mainly a visual option so that the  
chosen UID appears first in the list.


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