Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Crypt::GPG 1.63

    Download button

    No screenshots available
    Downloads: 320  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ashish Gulhati | More programs
    Perl Artistic License / FREE
    July 20th, 2009, 17:07 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Crypt::GPG description

    An Object Oriented Interface to GnuPG

    Crypt::GPG is a Perl module that provides access to the functionality of the GnuPG (www.gnupg.org) encryption tool through an object oriented interface.

    It provides methods for encryption, decryption, signing, signature verification, key generation, key certification, export and import. Key-server access is on the todo list.

    This release of the module may create compatibility issues with previous versions. If you find any such problems, or any bugs or documentation errors, please do report them to crypt-gpg at neomailbox.com.

    SYNOPSIS

     use Crypt::GPG;
     my $gpg = new Crypt::GPG;

     $gpg->gpgbin('/usr/bin/gpg'); # The GnuPG executable.
     $gpg->secretkey('0x2B59D29E'); # Set ID of default secret key.
     $gpg->passphrase('just testing'); # Set passphrase.

     # Sign a message:

     my $sign = $gpg->sign('testing again');

     # Encrypt a message:

     my @encrypted = $gpg->encrypt ('top secret', 'test@bar.com');

     # Get message info:

     my @recipients = $gpg->msginfo($encrypted);

     # Decrypt a message.

     my ($plaintext, $signature) = $gpg->verify($encrypted);

     # Key generation:

     $status = $gpg->keygen
     ('Test', 'test@foo.com', 'ELG-E', 2048, 0, 'test passphrase');
     print while (); close $status;

     # Key database manipulation:

     $gpg->addkey($key, @ids);
     @keys = $gpg->keydb(@ids);

     # Key manipulation:

     $key = $keys[0];
     
     $gpg->delkey($key);
     $gpg->disablekey($key);
     $gpg->enablekey($key);
     $gpg->keypass($key, $oldpassphrase, $newpassphrase);
     $keystring = $gpg->export($key);



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Object Oriented interface | GnuPG interface | Perl module | GnuPG | Perl | interface

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM