Discussion:
[Please help] How to re-use my private and public keys in a new system??
Ahmad Abdulghany
2008-09-08 11:01:35 UTC
Permalink
Hi,

I have installed PGP under Windows, and generated a key-pair. I could successfully send encrypted data as well as decrypt data from one of our customers that was encrypted via my public key I have sent to  him.

I am used to use Linux, and I have PGP installed there as well, and I could generate key-pair there too, but my corporation rules requires that i use keys generated from Windows PGP client. Is there anyway that can allow me to use the Windows-generated keypair under Linux PGP? I have two files from Windows: "secring.skr" and "pubring.pkr", I guess that they'll be put somewhere under Linux .pgp folder. And I need to do something else to use the same password I use under windows.

On the other hand, how can I be using the same PGP key-pair under Thunderbird (Linux) to encrypt and decrypt? Should I install certain software/plug-in to do that?

I'm using PGP 8.x under both Linux and Windows, and I'm not totally aware with commands, I hope that you guys will help.

I appreciate your kind help,
Best regards,
Ahmad





[Non-text portions of this message have been removed]


------------------------------------

______________________________________________________________
Archives: http://groups.yahoo.com/group/PGP-Basics/messages
OT List: http://groups.yahoo.com/group/PGP-Basics-OT
OT Subscribe: mailto:PGP-Basics-OT-***@yahoogroups.com

Gossamer Spider Web of Trust https://www.gswot.orgYahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/PGP-Basics/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/PGP-Basics/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:PGP-Basics-***@yahoogroups.com
mailto:PGP-Basics-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
PGP-Basics-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Alf Packer
2008-09-08 13:57:13 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ahmad Abdulghany wrote:
| Hi,
|
| I have installed PGP under Windows, and generated a key-pair. I could
successfully send encrypted data as well as decrypt data from one of our
customers that was encrypted via my public key I have sent to him.
|
| I am used to use Linux, and I have PGP installed there as well, and I
could generate key-pair there too, but my corporation rules requires
that i use keys generated from Windows PGP client. Is there anyway that
can allow me to use the Windows-generated keypair under Linux PGP? I
have two files from Windows: "secring.skr" and "pubring.pkr", I guess
that they'll be put somewhere under Linux .pgp folder. And I need to do
something else to use the same password I use under windows.
|
| On the other hand, how can I be using the same PGP key-pair under
Thunderbird (Linux) to encrypt and decrypt? Should I install certain
software/plug-in to do that?
|
| I'm using PGP 8.x under both Linux and Windows, and I'm not totally
aware with commands, I hope that you guys will help.

you can use the same keypair. open the pgp desktop on your windows
machine to export your public/secret keypair to a file. copy the
resulting ahmad_ab.asc (or whatever) file to your linux machine. use the
key management feature of the enigmail thunderbird add-on to import the
keyfile. i am assuming that the pgp you are referring to on the linux
box is really gnupg (gpg).

i do not have pgp8 installed but the pgp9 commands are - 1) right click
on a keypair. 2)choose 'export'. 3) check the 'include private key(s)
box. 4) choose a filename with the .asc extension and an export
location. 5)click 'save'. i bet the pgp8 process is similar.

- --alf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjFLxEACgkQnMbE8D83D37ihACfSm3+BXmPrTvX81FoGDaXV+HC
z0cAn1A2HiZrBsqkvMvTEyN9HA3uTbr3
=6kW5
-----END PGP SIGNATURE-----

------------------------------------

______________________________________________________________
Archives: http://groups.yahoo.com/group/PGP-Basics/messages
OT List: http://groups.yahoo.com/group/PGP-Basics-OT
OT Subscribe: mailto:PGP-Basics-OT-***@yahoogroups.com

Gossamer Spider Web of Trust https://www.gswot.orgYahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/PGP-Basics/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/PGP-Basics/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:PGP-Basics-***@yahoogroups.com
mailto:PGP-Basics-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
PGP-Basics-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
John Clizbe
2008-09-08 18:25:13 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Ahmad Abdulghany
Hi,
I have installed PGP under Windows, and generated a key-pair. I could
successfully send encrypted data as well as decrypt data from one of our
customers that was encrypted via my public key I have sent to him.
I am used to use Linux, and I have PGP installed there as well, and I could
generate key-pair there too, but my corporation rules requires that i use
keys generated from Windows PGP client. Is there anyway that can allow me to
use the Windows-generated keypair under Linux PGP? I have two files from
Windows: "secring.skr" and "pubring.pkr", I guess that they'll be put
somewhere under Linux .pgp folder. And I need to do something else to use the
same password I use under windows.
PGP for Linux was last at version 6.5.8 - that's VERY old and likely not
maintained. There is a good probability that PGP on linux will not understand
key features and algorithms of current OpenPGP (RFC 4880) systems.
Post by Ahmad Abdulghany
On the other hand, how can I be using the same PGP key-pair under Thunderbird
(Linux) to encrypt and decrypt? Should I install certain software/plug-in to
do that?
To use the PGP keys in Thunderbird, you need to install Enigmail and also verify
your linux system has at least GnuPG 1.4.x installed. The command

gpg --version

should confirm GnuPG's version, if installed

To use your Windows PGP 8.0 keys in GnuPG, the simplest method is to just copy
the keyring files to your linux system and import the keyrings:

gpg --import secring.skr
gpg --import pubring.pkr

Make certain you copy your keyring files using a binary copy (FTP's ascii copy
will break things) You may even merge in your existing Linux PGP keys:

gpg --import ~/.pgp/secring.skr
gpg --import ~/.pgp/pubring.pkr


PGP and GnuPG implement "Key Trust" differently, so this one bit needs
adjusting. PGP assigns key pairs "Implicit trust" and stores this as part of the
key. GnuPG calls this "Ultimate trust" and stores it in a separate file,
trustdb.gpg. For each keypair, you need to use the GnuPG command line to edit
the trust setting:

gpg --edit-key 0xdecafbad trust <-- change decafbad to your Key ID
Select 5 for "Ultimate"
Enter 'y' to confirm
Enter 'Save' to save the change and exit.
repeat for each key_PAIR_
Post by Ahmad Abdulghany
I'm using PGP 8.x under both Linux and Windows, and I'm not totally aware
with commands, I hope that you guys will help.
I wasn't aware of PGP 8 being available for Linux, only the above referenced
very old 6.5.8

- --
John P. Clizbe Inet:John (a) Mozilla-Enigmail.org
You can't spell fiasco without SCO. hkp://keyserver.gingerbear.net or
mailto:pgp-public-***@gingerbear.net?subject=HELP

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10-svn4826-2008-09-05 (Windows XP)
Comment: When cryptography is outlawed, b25seSBvdXRsYXdzIHdpbGwgdXNlIG
Comment: Be part of the £33† ECHELON -- Use Strong Encryption.
Comment: It's YOUR right - for the time being.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iJwEAQECAAYFAkjFbgcACgkQvh+YERi7NzrHuwP/T7o4CkM23+MvbhYXvm1oHiQr
W25YPD1wHb4GXVpTIi7JeP8SLbCbh2C3hvsIXSGh13do4+DNdFnSBqCT8KRDuU30
0ogprUihF/1Vll/oWe3CiM7FAopRHMrwlQxEoqvNdW3jSoCm2R2wblYRbrapXLM+
llOvXwp794M9P9uSlp6IRgQBEQIABgUCSMVuBwAKCRAdBKxKYI0qEJhDAKDUuWIz
e5r70chOM7ZpOYjHWeIM7gCfbrx63ROTRxbWt5HeJEXYnxnt2ZI=
=BlAs
-----END PGP SIGNATURE-----

------------------------------------

______________________________________________________________
Archives: http://groups.yahoo.com/group/PGP-Basics/messages
OT List: http://groups.yahoo.com/group/PGP-Basics-OT
OT Subscribe: mailto:PGP-Basics-OT-***@yahoogroups.com

Gossamer Spider Web of Trust https://www.gswot.orgYahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/PGP-Basics/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/PGP-Basics/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:PGP-Basics-***@yahoogroups.com
mailto:PGP-Basics-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
PGP-Basics-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

Continue reading on narkive:
Loading...