Sponsored Content
Full Discussion: encryption script
Top Forums Shell Programming and Scripting encryption script Post 48517 by Optimus_P on Tuesday 9th of March 2004 02:49:09 PM
Old 03-09-2004
you should take a look at the perl module GnuPG

i use it and then i ftp files places.
 

9 More Discussions You Might Find Interesting

1. Solaris

script encryption

hi all , i have a script that is written in ksh , i was wondering if there is a method or a command that can be used to encrypt the script and still make it execuable . i am running solaris 9 on SPARC . thanks (3 Replies)
Discussion started by: ppass
3 Replies

2. UNIX for Dummies Questions & Answers

File encryption/Key encryption ????

My dilemma, I need to send, deemed confidential, information via e-mail (SMTP). This information is sitting as a file on AIX. Typically I can send this data as a e-mail attachment via what we term a "mail filter" using telnet. I now would like to somehow encrypt the data and send it to a e-mail... (1 Reply)
Discussion started by: hugow
1 Replies

3. Solaris

Password encryption in script

:DHi i am preparing a script to connect to oracle from solaris.... now i want that no one is able to see the password in the script. is it possible...please help Regards Ankurk (3 Replies)
Discussion started by: ankurk
3 Replies

4. Shell Programming and Scripting

Trying to perform encryption through script

Hi, I have a small basic script encryption.sh as shown below. All I am trying to do is to encrypt a file which is passed through the script. It works fine when I execute this script directly from command line via putty or telnet but it does not work when I call this script in an... (3 Replies)
Discussion started by: simi28
3 Replies

5. Shell Programming and Scripting

why my encryption shell script not working

I am trying to write a shell script which will use a text file as an argument to produce pgp encryted file. Shell script name: encryptext.sh This is the code of encryptext.sh #!/usb/bin/ksh file=$1 cd /home/project/source gpg --verbose --armour --encrypt --recipient "IMS_L2" --output... (2 Replies)
Discussion started by: shanbalao
2 Replies

6. Linux

Pgp encryption script

I have file in linux which I need to do the PGP encryption. Through manually I am using this command to do the same gpg -c scsrun.log Enter passphrase : Repeat Passphrase : But how I can achive this using linux script. Thanks How to use code tags (3 Replies)
Discussion started by: mr_harish80
3 Replies

7. Shell Programming and Scripting

Password Encryption for Oracle Script

Please let me know the how to hide Oracle credential in below script: PP.AIX.ETL:/XYZ/abc/dsclientprod/home/scripts/monthly > cat exec_sql.sh set +x # import our environment #. /xyz/abc/dsclientprod/home/my.env ScriptOutput=/QIS2FTP/HP_ST_UAT/dsclientprod/home/scripts/ScriptRunInfo.txt... (2 Replies)
Discussion started by: rajubollas
2 Replies

8. Cybersecurity

File encryption tools with MAC address as an encryption key

Hi all, I'm looking for secure file encryption tools that use MAC address as encryption key. FYI, I'm using Red Hat Enterprise Linux OS. For example: when A wants to send file to B A will encrypt the file with B's computer MAC/IP address as an encryption key This file can only be decrypted... (2 Replies)
Discussion started by: sergionicosta
2 Replies

9. UNIX for Dummies Questions & Answers

Script for automatic encryption by shell

Hello, i'm just a new newbie and i'm happy to meet you, i think that is a good thing to present myself but i don't found a section for do that, and i will do it here. Hello everyone, my name is Marco and i'm from Italy 19 years old and i'm n00b, i'm a MAC user (yeah don't kill me for that xD)... (7 Replies)
Discussion started by: supermarco2020
7 Replies
GnuPG::Options(3pm)					User Contributed Perl Documentation				       GnuPG::Options(3pm)

NAME
GnuPG::Options - GnuPG options embodiment SYNOPSIS
# assuming $gnupg is a GnuPG::Interface object $gnupg->options->armor( 1 ); $gnupg->options->push_recipients( 'ftobin', '0xABCD1234' ); DESCRIPTION
GnuPG::Options objects are generally not instantiated on their own, but rather as part of a GnuPG::Interface object. OBJECT METHODS
new( %initialization_args ) This methods creates a new object. The optional arguments are initialization of data members. hash_init( %args ). copy Returns a copy of this object. Useful for 'saving' options. get_args Returns a list of arguments to be passed to GnuPG based on data members which are 'meta_' options, regular options, and then extra_args, in that order. OBJECT DATA MEMBERS
homedir armor textmode default_key no_greeting verbose no_verbose quiet batch always_trust comment status_fd logger_fd passphrase_fd compress_algo force_v3_sigs rfc1991 openpgp options no_options encrypt_to recipients These options correlate directly to many GnuPG options. For those that are boolean to GnuPG, simply that argument is passed. For those that are associated with a scalar, that scalar is passed passed as an argument appropriate. For those that can be specified more than once, such as recipients, those are considered lists and passed accordingly. Each are undefined or false to begin. Meta Options Meta options are those which do not correlate directly to any option in GnuPG, but rather are generally a bundle of options used to accomplish a specific goal, such as obtaining compatibility with PGP 5. The actual arguments each of these reflects may change with time. Each defaults to false unless otherwise specified. These options are being designed and to provide a non-GnuPG-specific abstraction, to help create compatibility with a possible PGP::Interface module. To help avoid confusion, methods with take a form of a key as an object shall be prepended with _id(s) if they only take an id; otherwise assume an object of type GnuPG::Key is required. meta_pgp_5_compatible If true, arguments are generated to try to be compatible with PGP 5.x. meta_pgp_2_compatible If true, arguments are generated to try to be compatible with PGP 2.x. meta_interactive If false, arguments are generated to try to help the using program use GnuPG in a non-interactive environment, such as CGI scripts. Default is true. meta_signing_key_id This scalar reflects the key used to sign messages. Currently this is synonymous with default-key. meta_signing_key This GnuPG::Key object reflects the key used to sign messages. meta_recipients_key_ids This list of scalar key ids are used to generate the appropriate arguments having these keys as recipients. meta_recipients_keys This list of keys of the type GnuPG::Key are used to generate the appropriate arguments having these keys as recipients. You probably want to have this list be of the inherited class GnuPG::SubKey, as in most instances, OpenPGP keypairs have the encyrption key as the subkey of the primary key, which is used for signing. Other Data Members extra_args This is a list of any other arguments used to pass to GnuPG. Useful to pass an argument not yet covered in this package. SEE ALSO
GnuPG::Interface, perl v5.12.4 2010-05-10 GnuPG::Options(3pm)
All times are GMT -4. The time now is 10:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy