9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
There are some 7 years script in out linux server. I am trying to understand them since Linux Server changed(A).
Below line in one of the encrypting script. Here scenario is encrypting bank files in our (A) server and doing Secure Copy to Server (B).
GPG -v --batch --yes --armor... (1 Reply)
Discussion started by: johnsnow
1 Replies
2. Shell Programming and Scripting
Hello there,
I am using "mutt" command to send e-mails.
mutt -s "Mail subject line" $( printf -- '-a attachment_name') < "mail body file" "e-mail id"
I wish to change the name of the attachment by appending the date to it.
Something like "attachment_name_$DATE.html" in the mutt... (5 Replies)
Discussion started by: H squared
5 Replies
3. Solaris
I have installed gnupg from the official Solaris 11 repository, but am experiencing library issues. This is the error I am getting:
ld.so.1: gpg2: fatal: relocation error: file /usr/lib/libreadline.so.5: symbol tgetent: referenced symbol not foundSee more information here:
bash-4.1$ gpg2... (4 Replies)
Discussion started by: ujjain
4 Replies
4. Shell Programming and Scripting
Hi all,
I'm trying to decrypt a GnuPG file but not having much luck. I'm new to using it and have tried 4 different ways to do it but nothing works. Here are examples of the attempts I have made:
gpg -o ./file_name.tar.Z --passphrase-fd 0 ./file_name.tar.Z.gpg 0<./password.txt
cat... (5 Replies)
Discussion started by: Korn0474
5 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need to export an existing PGP key and import it into GnuPG on a different machine.
This is how I did the export:
pgp -kx myuser _myuser_public
pgp -kx myuser _myuser_private secring.skr
(this is from the pgp installation directory that contains secring.skr).
This produced two... (0 Replies)
Discussion started by: imchi
0 Replies
6. Cybersecurity
Hi,
I need to export an existing PGP key and import it into GnuPG on a different machine.
This is how I did the export:
pgp -kx myuser _myuser_public
pgp -kx myuser _myuser_private secring.skr
(this is from the pgp installation directory that contains secring.skr).
This produced two... (0 Replies)
Discussion started by: imchi
0 Replies
7. UNIX for Dummies Questions & Answers
hey guys
i need to restrict access to the GNUPG program because of the possibility that sensitive data like encryption keys and passwords that it is using may be written into the virtual memory swap partition on the hard disk and thus be retrieved at a later date long after the program has... (2 Replies)
Discussion started by: mile1982
2 Replies
8. Shell Programming and Scripting
hello,
i am writing an automated script for GnuPG decryption for a file, which was already being encrypted,
homedir="/home/.gnupg"
PassPhrase=`cat /home/.gnupg/.passphrase`
echo $PassPhrase | gpg --homedir $homedir --passphrase-fd 0 --no-tty --output secret21.txt --decrypt-files... (0 Replies)
Discussion started by: manas_ranjan
0 Replies
9. Shell Programming and Scripting
I've been blessed with the task of writing functions that will be used to encrypt / decrypt data files using the Gnupg (gpg command) software on our Solaris 9. This was just installed last friday and I've got no documentation other than what I've found on the web.
I was successful in writing... (4 Replies)
Discussion started by: BCarlson
4 Replies
GnuPG::Signature(3pm) User Contributed Perl Documentation GnuPG::Signature(3pm)
NAME
GnuPG::Signature - GnuPG Key Signature Objects
SYNOPSIS
# assumes a GnuPG::Key or GnuPG::UserID or GnuPG::UserAttribute object in $signed
my $signing_id = $signed->signatures->[0]->hex_id();
DESCRIPTION
GnuPG::Signature objects are generally not instantiated on their own, but rather as part of GnuPG::Key objects. They embody various
aspects of a GnuPG signature on a key.
OBJECT METHODS
new( %initialization_args )
This methods creates a new object. The optional arguments are initialization of data members.
is_valid()
Returns 1 if GnuPG was able to cryptographically verify the signature, otherwise 0.
compare( $other )
Returns non-zero only when this Signature is identical to the other GnuPG::Signature.
OBJECT DATA MEMBERS
validity
A character indicating the cryptographic validity of the key. GnuPG uses at least the following characters: "!" means valid, "-" means
not valid, "?" means unknown (e.g. if the supposed signing key is not present in the local keyring), and "%" means an error occurred
(e.g. a non-supported algorithm). See the documentation for --check-sigs in gpg(1).
algo_num
The number of the algorithm used for the signature.
hex_id
The hex id of the signing key.
user_id_string
The first user id string on the key that made the signature. This may not be defined if the signing key is not on the local keyring.
sig_class
Signature class. This is the numeric value of the class of signature.
A table of possible classes of signatures and their numeric types can be found at http://tools.ietf.org/html/rfc4880#section-5.2.1
is_exportable
returns 0 for local-only signatures, non-zero for exportable signatures.
date_string
The formatted date the signature was performed on.
date
The date the signature was performed, represented as the number of seconds since midnight 1970-01-01 UTC.
expiration_date_string
The formatted date the signature will expire (signatures without expiration return undef).
expiration_date
The date the signature will expire, represented as the number of seconds since midnight 1970-01-01 UTC (signatures without expiration
return undef)
SEE ALSO
perl v5.12.4 2010-05-10 GnuPG::Signature(3pm)