PGP generating keys.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting PGP generating keys.
# 1  
Old 05-02-2014
PGP generating keys.

Hi Guys,

Am facing issue in generating PGP keys. Can you please help me to figure this out??

I fired the below command to generate keys. The log say keys successfully created. But when i tried to list it doesnt shows me the keys created.
Code:
  
pgp --gen-key "pgptest<ram@gmail.com>" --key-type RSA --bits 2048 --passphrase "pass123"
pgptest<ram@gmail.com>generate key (2078:non-standard user ID)
Acquiring entropy from system state....done
Generating key pgptest<ram@gmail.com>" 
progress.....******* ................................................................................******* done
0xD2479DB8:generate key (0:key successfully generated)
Acquiring entropy from system state....done
Generating subkey
progress...................................******* ..........******* done
0xD3CA3F27:generate key (0:subkey successfully generated)

Does the PGP key needs to be created with root user??Am not using root user.


Any help is much appreciated!!!

Thanks in Advance!!!

---------- Post updated at 05:46 AM ---------- Previous update was at 03:18 AM ----------

Any help is deeply appreciated!!!

/Thanks

Last edited by zaxxon; 05-02-2014 at 07:49 AM.. Reason: code tags adjusted, moved descriptive text outside of the output
# 2  
Old 05-02-2014
Please do not bump posts.

What exactly do you do to try and list the keys?
# 3  
Old 05-02-2014
I use the below command to list pgp keys


pgp -l and tried one more command as well.

pgp --list-keys

It display all the keys exists but not the one which I created
# 4  
Old 05-02-2014
I have never used pgp. I use gpg instead and I'll bet that most people here do as well. Since pgp is a product maybe you can get support from the manufacturer.

But just a few guesses based on how gpg behaves... I cannot believe that root is required. That would be a very bad design decision. I can create a key with gpg and see it immediately with the --list-keys option. The key is created in files that reside in .gnupg. I need to be able to write to those files. pgp, while it probably uses different names, probably also stores stuff in files and thus needs to write to those files. So I guess I would check that.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

PGP importing public keys method

Hi Guys, I am trying to import the public of vendor to my system. I am getting below error while importing public key. can anyone please help me with this?? laranakejt4:/u/raja/.pgp $ pgp --import secure.asc 0x1545A56A52:import key (4007:key failed signature check) secure.asc:import key... (2 Replies)
Discussion started by: Vinoth Kumar G
2 Replies

2. AIX

PGP importing public keys method

Hi Guys, I am trying to import the public of vendor to my system. I am getting below error while importing public key. can anyone please help me with this?? laranakejt4:/u/raja/.pgp $ pgp --import secure.asc 0x1545A56A52:import key (4007:key failed signature check) secure.asc:import key... (0 Replies)
Discussion started by: Vinoth Kumar G
0 Replies

3. UNIX for Dummies Questions & Answers

[SSH-RSA] Still prompting for password after generating keys

Hello, I'm trying to perform these operations without entering any password, as user "fzd":fzd@machine1> scp /tmp/srcFile1 fzd@machine2:/tmp/$destFile fzd@machine1> scp fzd@machine2:/tmp/$srcFile /tmp/$destFilebut alsofzd@machine1> scp /tmp/srcFile1 machine2:/tmp/$destFile fzd@machine1> scp... (6 Replies)
Discussion started by: fzd
6 Replies

4. UNIX for Dummies Questions & Answers

Import and export PGP/GnuPG keys

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

5. Cybersecurity

[PGP/GnuPG] Importing and signing keys

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. Fedora

Problem while generating ssh keys.

Hi all, I am facing an issue while creating the ssh keys. i am using fedora 9 Please let me know how to solve this issue # ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no... (5 Replies)
Discussion started by: kalyankalyan
5 Replies

7. Solaris

PGP encryption

Hi, i am trying to encrypt a file using pgp with a recepient's public key. The file is encrypted but the output file has owner & group nobody. i am not able to change it either. Please let me know how to do pgp encryption so that i get the output with owner and group as the same user which runs... (4 Replies)
Discussion started by: renjyverghese
4 Replies

8. UNIX for Advanced & Expert Users

Importing PGP keys

I'm hoping someone can help get me moving in the right direction here, so bear with me. I've got 2 RedHat Linux servers, let's call them A & B. - A receives "sensitive" files, which are PGP encrypted, and immediately sends them off to B for decryption/processing/deletion - B needs to make... (1 Reply)
Discussion started by: peteroc
1 Replies

9. Shell Programming and Scripting

PGP commands

i have successfully executed a PGP encrytp command with the following: "echo `pgp --encrypt filename --recipient user-key` > $fromDir/.encrypt" However, when i attempt to issue a decrypt command with following: "echo `pgp --decrypt filename --passphrase passphrase`" > $fromDir/.decrypt ... (1 Reply)
Discussion started by: rgard
1 Replies

10. UNIX for Dummies Questions & Answers

arrow keys / special keys

how to use the arrow keys in shell scripting. is there any special synatax / command for this. i just want to use the arrow keys for navigation. replies appreciated raguram R (3 Replies)
Discussion started by: raguramtgr
3 Replies
Login or Register to Ask a Question