This is a discussion on gpg help within the Linux Security forums, part of the System Security and Security Related category; what's the best way to import keys from pgp (public & secret), do I need to export first from ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 dorantes@mac.com writes: >what's the best way to import keys from pgp (public & secret), do I >need to export first from PGP then import in gpg ? Gnupg can directly import the PGP keyrings. cd $HOME/.pgp ## or wherever pgp keyrings are gpg --import pubring.pkr gpg --import secring.skr After importing, you might need to edit your own key to make it ultimately trusted. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (SunOS) iD8DBQFCyvyQvmGe70vHPUMRAlTRAJ9ZLE8u4CmswxexCRNgvS xpr0cPwQCggtCw Z3B0sLPlxzXHyIM40tAQaEQ= =H8Tc -----END PGP SIGNATURE----- |
|
|||
|
On Tue, 05 Jul 2005 15:45:33 -0700, dorantes wrote:
> thanks !! that worked, now to decrypt a file, what's the exact command > to re-direct the output to a file ? the command I used was: " gpg > --decrypt SOMEFILENAME.pgp " and everything scrolled across the screen > really fast. > > thanks... To redirect any command's output to a file, follow the command with (command) > outputfile.sav or whatever name you want. |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 dorantes@mac.com writes: >thanks...is there a way to decrypt a file thru a script (passing in the >passphrase), so there is no user invertvention required? man gpg (pay particular attention to "--passphrase-fd") -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (SunOS) iD8DBQFCy0s5vmGe70vHPUMRAunWAJ48gHmZ8jG5rTNLsHyp0E rbSU8YNACZAUn5 OFWL6PGHe4Z8a/wWVXBj/UI= =qGnP -----END PGP SIGNATURE----- |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 dorantes@mac.com writes: >what does file descriptor n mean ? it says to use 0 for n and the >passphrase will be read from stdin...but what does that mean ? When you open a file in unix, you are given a file descriptor. This gpg option is really intended for use by a program that opens a pipe forks a child process to run gpg parent writes the pass phrase into the pipe. In this case the program would know the file descriptor number from opening the pipe. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (SunOS) iD8DBQFCzDDwvmGe70vHPUMRAmpBAKDAI9fRCxykX1C9sxwpA+ hh+izaiwCfauQb vdQVJV7+sgc/NMgSYpv+ujQ= =3lXh -----END PGP SIGNATURE----- |