The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Path To PGP

Discussion in 'General Discussion' started by rdb4133, Oct 22, 2002.

  1. rdb4133

    rdb4133 Member

    Joined:
    Jul 24, 2002
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    A client emailed me and asked me this:

    What is the path to PGP?

    Currently, our code reads:
    cd /home/nobody/.pgp ; pgp -ea /c43/stiers/secure/$file.dat nobody

    That is from they're current provider, I've never dealt with PGP so I'm not too sure what to tell them, any help would be grealty appreciated!

    Thanks!
     
  2. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [quote:bead0f140e][i:bead0f140e]Originally posted by rdb4133[/i:bead0f140e]

    A client emailed me and asked me this:

    What is the path to PGP?

    Currently, our code reads:
    cd /home/nobody/.pgp ; pgp -ea /c43/stiers/secure/$file.dat nobody

    That is from they're current provider, I've never dealt with PGP so I'm not too sure what to tell them, any help would be grealty appreciated!

    Thanks![/quote:bead0f140e]
    gpg (GnuPG) is available in Cpanel
    program:
    /usr/bin/gpg

    data directory:
    /home/username/.gnupg
     
  3. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    I wrote about GnuPG in another thread too:
    http://forums.cpanel.net/read.php?TID=4867&page=1
     
  4. picasso

    picasso Member

    Joined:
    Oct 23, 2002
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    The later version of PGP is compatible with GPG too.

    In fact gpg and PGP are two different protocols.
     
  5. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [quote:e7de579fb0][i:e7de579fb0]Originally posted by picasso[/i:e7de579fb0]

    The later version of PGP is compatible with GPG too.

    In fact gpg and PGP are two different protocols.[/quote:e7de579fb0]

    if you want to encrypt a message with GnuPG so that PGP is able to decrypt it:
    It depends on the PGP version.
    • PGP 2.x
    You can't do that because PGP 2.x normally uses IDEA which is not supported by GnuPG as it is patented (see 3.3), but if you have a modified version of PGP you can try this:
    • gpg --rfc1991 --cipher-algo 3des ...
    Please don't pipe the data to encrypt to gpg but provide it using a filename; otherwise, PGP 2 will not be able to handle it.
    As for conventional encryption, you can't do this for PGP 2.
    • PGP 5.x and higher
    You need to provide two additional options:
    • --compress-algo 1 --cipher-algo cast5
    You may also use &3des& instead of &cast5&, and &blowfish& does not work with all versions of PGP 5. You may also want to put:
    compress-algo 1
    into your ~/.gnupg/options file - this does not affect normal GnuPG operation.
    This applies to conventional encryption as well.


    Also you are right GnuPG is compatible with PGP, or better to say that GnuPG is a GNU replacement (free) for PGP.
     
Loading...

Share This Page