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:
So my doubt is , can i use the key generated by a different person ?
I tried to create a key of my own and I am able to encrypt and decrypt files with that key. But not able to do with my friend's key. What to do be done to use my friend's key in my login.
Last edited by Yogesh Sawant; 06-25-2008 at 01:55 AM..
Reason: added code tags
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)
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)
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)
Hello all
I have installed gpg key be executing command
gpg --gen-key and followed the on screen prompts.
I have done all this stuff from my home directory
Now i am unable to see the results. Where are these keys stored. Doesn't it create a new folder in my home directory and create the... (1 Reply)
Folks,
Is there anyone to help on GPG file encryptions here.
I got a public key from third party. I imported the key in server.
I want to encrypt the public key. But without being signed , the key cannot be encrypted.
When I try to sign the key using lsign command,
I am getting the below... (1 Reply)
I am trying to use gig in linux but it is hanging.
$ gpg --passphrase=test /tmp/test.sh
Reading passphrase from file descriptor 0 ...
When i press enter, it gives the below message:
$ gpg --passphrase=test /tmp/test.sh
Reading passphrase from file descriptor 0 ...
gpg: no valid... (1 Reply)
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)
Hi All,
I am working on Solaris 10 OS on X4170M2 server. I have some .gpg encrypted files and i want to decrypt them but i dont know how to install the binary of gpg.
Here is the binary in system :
root@ecmstest # ls -larth
total 1273904
-rw-r--r-- 1 root root 3.5M Oct 14 ... (1 Reply)
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
LEARN ABOUT LINUX
rpmkeys
RPMKEYS(8) System Manager's Manual RPMKEYS(8)NAME
rpmkeys - RPM Keyring
SYNOPSIS
rpmkeys {--import|--checksig}
DESCRIPTION
The general forms of rpm digital signature commands are
rpmkeys --import PUBKEY ...
rpmkeys {-K|--checksig} PACKAGE_FILE ...
The --checksig option checks all the digests and signatures contained in PACKAGE_FILE to ensure the integrity and origin of the package.
Note that signatures are now verified whenever a package is read, and --checksig is useful to verify all of the digests and signatures
associated with a package.
Digital signatures cannot be verified without a public key. An ASCII armored public key can be added to the rpm database using --import.
An imported public key is carried in a header, and key ring management is performed exactly like package management. For example, all cur-
rently imported public keys can be displayed by:
rpm -qa gpg-pubkey*
Details about a specific public key, when imported, can be displayed by querying. Here's information about the Red Hat GPG/DSA key:
rpm -qi gpg-pubkey-db42a60e
Finally, public keys can be erased after importing just like packages. Here's how to remove the Red Hat GPG/DSA key
rpm -e gpg-pubkey-db42a60e
SEE ALSO popt(3),
rpm(8),
rpmdb(8),
rpmsign(8),
rpm2cpio(8),
rpmbuild(8),
rpmspec(8),
rpmkeys --help - as rpm supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual
matches what's available.
http://www.rpm.org/ <URL:http://www.rpm.org/>
AUTHORS
Marc Ewing <marc@redhat.com>
Jeff Johnson <jbj@redhat.com>
Erik Troan <ewt@redhat.com>
Panu Matilainen <pmatilai@redhat.com>
Red Hat, Inc 29 October 2010 RPMKEYS(8)