Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gpg-error(1) [opensolaris man page]

gpg-error(1)							   User Commands						      gpg-error(1)

NAME
gpg-error - Get the description for specified error numbers. SYNOPSIS
gpg-error errorno [...] DESCRIPTION
gpg-error is a tool that returns the description of specified error numbers. OPERANDS
The following operands are supported: errorno Error numbers for which you want to get the description. EXIT STATUS
The following exit values are returned: 0 Application exited successfully 1 Application exited with failure FILES
The following files are used by this application: /usr/bin/gpg-error Executable for gpg-error ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgpg-error | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
gpg-error-config(1), libgpg-error(3), attributes(5) Written by Jeff Cai, Sun Microsystems Inc., 2008. SunOS 5.11 31 Jul 2008 gpg-error(1)

Check Out this Related Man Page

GPG-ZIP(1)							 GNU Privacy Guard							GPG-ZIP(1)

NAME
gpg-zip - Encrypt or sign files into an archive SYNOPSIS
gpg-zip [options] filename1 [ filename2, ... ] directory1 [ directory2, ... ] DESCRIPTION
gpg-zip encrypts or signs files into an archive. It is an gpg-ized tar using the same format as used by PGP's PGP Zip. OPTIONS
gpg-zip understands these options: --encrypt -e Encrypt data. This option may be combined with --symmetric (for output that may be decrypted via a secret key or a passphrase). --decrypt -d Decrypt data. --symmetric -c Encrypt with a symmetric cipher using a passphrase. The default symmetric cipher used is CAST5, but may be chosen with the --cipher-algo option to gpg. --sign -s Make a signature. See gpg. --recipient user -r user Encrypt for user id user. See gpg. --local-user user -u user Use user as the key to sign with. See gpg. --list-archive List the contents of the specified archive. --output file -o file Write output to specified file file. --gpg gpgcmd Use the specified command gpgcmd instead of gpg. --gpg-args args Pass the specified options to gpg. --tar tarcmd Use the specified command tarcmd instead of tar. --tar-args args Pass the specified options to tar. --version Print version of the program and exit. --help Display a brief help page and exit. EXAMPLES
Encrypt the contents of directory 'mydocs' for user Bob to file 'test1': gpg-zip --encrypt --output test1 --gpg-args -r Bob mydocs List the contents of archive 'test1': gpg-zip --list-archive test1 DIAGNOSTICS
The program returns 0 if everything was fine, 1 otherwise. SEE ALSO
gpg(1), tar(1), The full documentation for this tool is maintained as a Texinfo manual. If GnuPG and the info program are properly installed at your site, the command info gnupg should give you access to the complete manual including a menu structure and an index. GnuPG 2.0.15 2010-07-05 GPG-ZIP(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

GnuPG (gpg command)

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

2. Shell Programming and Scripting

manipulate a passed in parameter

I am passing a file name as a parameter to shell script the parameter is getfile.txt.gpg how do i process this parameter to get name like getfile.txt only and eleminate the .gpg text?? Thanks in advance (2 Replies)
Discussion started by: rudoraj
2 Replies

3. UNIX for Dummies Questions & Answers

Gpg

Hi, I have imported the details given by my friend using gpg --import <file> Now i am using the encryption technique with my friend's key in the following way: gpg --output out.pgp --batch --encrypt --recipient "FRIEND_KEY" test and i am getting the follwoing error: gpg: 421E287E:... (4 Replies)
Discussion started by: risshanth
4 Replies

4. UNIX for Dummies Questions & Answers

How to use GPG for myself on Thumb drive?

I have some sensitive data I would like to keep on a thumb drive. Now I know this is a UNIX/Linux forum and I regret to say that I'm using windows but I'm hoping that is irrelevant. So I install gpg on both windows machines: one at home and the other at work. I encrypt some stuff on the... (2 Replies)
Discussion started by: siegfried
2 Replies

5. UNIX for Dummies Questions & Answers

how to give PASSPHRASE to gpg in command line?

Hello sir, I am using "gpg" command to encrypt a file. We generally do it :- then it asks us for :- I want to know how to give this Passphrase in the command line itself !!!I did read the man page but couldnt make out what is the option for it.Can u please help me out !!! (2 Replies)
Discussion started by: nsharath
2 Replies

6. Shell Programming and Scripting

GPG Encription problem

Dear Friends, I have been using symmetric gpg encryption. I encrypt a file as follows gpg --symmetric <file name> then It asks to enter password two times Now the problme is, I have some 700 odd files to be encrypted by using symmetric gpg encription Can u plz tell me how to do that by... (14 Replies)
Discussion started by: anushree.a
14 Replies

7. Shell Programming and Scripting

pass a password to an application

Hi folks I am new to shellscripting and I try to automate & guify some jobs. Suppose I have a variable the stores a passwd and an application like "gpg" or "zip" to run from withn the script. how do I pass that passwd (the content of the variable) to the application being called? eg. ... (4 Replies)
Discussion started by: latenite
4 Replies

8. Shell Programming and Scripting

shell script encrypt a file using gpg

Hi, I have a requirement to encrypt a file using gpg with a public key. However when i encrypt a file, i get a question like 'Do you want to go ahead with unverified user?' . when i press 'y' file is encrypted. I am not able to automate this job because of this interactive mode. Could... (3 Replies)
Discussion started by: Deepakbabu
3 Replies

9. UNIX for Dummies Questions & Answers

Which command can help me output lines with duplicate numbers?

i have a file, let's call it file. march 2008 january 2008 march 1920 march 2002 i want to output the first line, not the second as you can see the second line has different numbers. (8 Replies)
Discussion started by: hobiwhenuknowme
8 Replies

10. Shell Programming and Scripting

3 numbers and return the maximum

Hello, I am doing bash and for that doing excersices. The folowing one asks for 3 numbers and is suppose to return the maximum. An error should be returned if on of the numbers is missing. I managed to solve it. Can you give me other ways or advices. #!/bin/bash #Date: 2010.10.19 #Ecrire un... (5 Replies)
Discussion started by: flash80
5 Replies

11. Shell Programming and Scripting

Script .ksh to decrypt .gpg(passphrase)

Hi all, i have to make a script in shell unix that decrypt a file .gpg ang through out in the same directory the decypted file. Well, the problem is to put in the shell the passphrase. Here the specifications: File .gpg: bella.zip.gpg File output: bella_decr.zip passphrase: bella_zio ... (4 Replies)
Discussion started by: zangarules
4 Replies

12. Shell Programming and Scripting

To pass the variable in gpg

Hi, While m using gpg manually it works fine. I want to include this command in my auto script. how to pass the passphrase and Use this key anyway? (y/N) in my script. Advance thanks. $ gpg --sign --output xx.gpg --encrypt --recipient GXS_CTE xx.ext You need a passphrase to unlock the secret... (3 Replies)
Discussion started by: chakkaravarthy
3 Replies

13. AIX

Gpg: out of memory while allocating 8192 bytes

We are receiving the below error message when trying to encrypt or decrypt a file on AIX server : gpg: out of memory while allocating 8192 bytes gpg process was working for years on the server until the day we started to see this. This same gpg encryption is working on an other AIX server... (17 Replies)
Discussion started by: sradithya
17 Replies

14. Shell Programming and Scripting

Formatting File Decryption Output

Below is the out put of the decrypt command. Decrypt Command: /usr/bin/gpg --yes --batch --output file.xml --decrypt file.xml.gpg Output: gpg: encrypted with 2048-bit RSA key, ID 96301328, created 2014-04-29 "XYZ <xyz@abc.com>" gpg: encrypted with 2048-bit ELG-E key, ID ECB614CF,... (5 Replies)
Discussion started by: Ariean
5 Replies

15. UNIX for Advanced & Expert Users

GPG encryption error ...

Hi. I'm hitting issues using gpg to encrypt a text file on Linux. gpg -c --passphrase 123 --cipher-algo AES256 test gpg: cancelled by user gpg: error creating passphrase: Operation cancelled gpg: symmetric encryption of `test' failed: Operation cancelled In this case the file test just... (3 Replies)
Discussion started by: user052009
3 Replies