Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dbix::class::encodedcolumn::crypt::openpgp(3pm) [debian man page]

DBIx::Class::EncodedColumn::Crypt::OpenPGP(3pm) 	User Contributed Perl Documentation	   DBIx::Class::EncodedColumn::Crypt::OpenPGP(3pm)

NAME
DBIx::Class::EncodedColumn::Crypt::OpenPGP - Encrypt columns using Crypt::OpenPGP SYNOPSIS
__PACKAGE__->add_columns( 'secret_data' => { data_type => 'TEXT', encode_column => 1, encode_class => 'Crypt::OpenPGP', encode_args => { recipient => '7BEF6294', }, encode_check_method => 'decrypt_data', }; my $row = $schema->resultset('EncryptedClass') ->create({ secret_data => 'This is secret' }); is( $row->decrypt_data('Private Key Passphrase'), 'This is secret', 'PGP/GPG Encryption works!' ); DESCRIPTION
This is a conduit to working with Crypt::OpenPGP, so that you can encrypt data in your database using gpg. Currently this module only handles encrypting but it may add signing of columns in the future CONFIGURATION
In the column definition, specify the "encode_args" hash as listed in the synopsis. The "recipient" is required if doing key exchange encryption, or if you want to use symmetric key encryption using a passphrase you can specify a "passphrase" option: encode_args => { passphrase => "Shared Secret" } If you have a separate path to your public and private key ring file, or if you have alternative Crypt::OpenPGP configuration, you can specify the constructor args using the "pgp_args" configuration key: encode_args => { pgp_args => { SecRing => "$FindBin::Bin/var/secring.gpg", PubRing => "$FindBin::Bin/var/pubring.gpg", } } The included tests cover good usage, and it is advised to briefly browse through them. Also, remember to keep your private keys secure! AUTHOR
J. Shirley <cpan@coldhardcode.com> LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-04-11 DBIx::Class::EncodedColumn::Crypt::OpenPGP(3pm)

Check Out this Related Man Page

RDF::Crypt::Role::WithPrivateKey(3pm)			User Contributed Perl Documentation		     RDF::Crypt::Role::WithPrivateKey(3pm)

NAME
RDF::Crypt::Role::WithPublicKeys - role for objects that have public keys DESCRIPTION
Attribute "private_key" Read only; Crypt::OpenSSL::RSA; required. Additional Constructor Methods "new_from_file($file)" Given a filename containing a DER or PEM encoded RSA private key, constructs an object. "new_from_string($str)" Given a string containing a DER or PEM encoded RSA private key, constructs an object. "new_from_privkey($key)" Given a Crypt::OpenSSL::RSA private key object, constructs an object. SEE ALSO
RDF::Crypt, RDF::Crypt::Decrypter, RDF::Crypt::Signer. BUGS
Please report any bugs to <http://rt.cpan.org/>. AUTHOR
Toby Inkster <tobyink@cpan.org>. COPYRIGHT
Copyright 2010, 2012 Toby Inkster This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. perl v5.14.2 2012-06-25 RDF::Crypt::Role::WithPrivateKey(3pm)
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Telnet Blocked - PGP Encryption?

I have 2 systems that cannot telnet directly into our UNIX system via IP. The only thing that separate these 2 systems from all the others in our office is that they run a PGP encryption within Outlook. I can telnet to a different server and then telnet from there to the one I want to get to, but... (7 Replies)
Discussion started by: jgordon
7 Replies

2. Solaris

Public keys for GPG Encryption

HI, I'm trying to encrypt a file and i'll FTP it to a external server.When i encrypt it using the command gpg -e -r 'recipient name' <filename> its asking me for public keys.Is there a way to encrypt without having to give the public keys? or if i need to give public keys i... (1 Reply)
Discussion started by: James777
1 Replies

3. Shell Programming and Scripting

Private Key

I have two types of files pubring.pkr secring.skr secring.skr is encrypted and not able to read. How can i read secring.skr in text format after decrypting ? is there any way of decrypting this file? Unix HP - UX Version. (4 Replies)
Discussion started by: airesh
4 Replies