Sponsored Content
Full Discussion: Private Key
Top Forums Shell Programming and Scripting Private Key Post 302742895 by airesh on Tuesday 11th of December 2012 07:43:20 PM
Old 12-11-2012
Private Key

I have two types of files

pubring.pkr
secring.skr

secring.skr is encrypted and not able to read.
How can i read secring.skr in text format after decrypting ?

is there any way of decrypting this file?

Unix HP - UX Version.
 

10 More Discussions You Might Find Interesting

1. Programming

Passphrase protection of private key

Hi all, I have written a Java program to generate RSA public and private keys. I am writing the keys to a file and reading from it when required to encryption or decryption. I want to protect the private key file using a passphrase. Can anyone tell me how to do it? :( Thanks. (2 Replies)
Discussion started by: Treasa
2 Replies

2. UNIX for Dummies Questions & Answers

SSL Public key/Private question

Hi everyone, I have a quick/newb question: I know that a public key is used to encrypt data and a private key is used to decrypt data but who keeps the public/private keys?? Does the Web Server hold both? Does the Web Server have the public key and does the client have the private key? ... (3 Replies)
Discussion started by: tical00
3 Replies

3. Shell Programming and Scripting

Rename .pub and private key

I wish to generate a id_dsa.pub and id_dsa (Public and Private Key) in a common user group. I have checked the .ssh directory and i have already found id_dsa.pub and id_dsa existing. Is that OK if i create both the keys in my home direcotry, rename it to jjj.pub and jjj and move to Common user... (1 Reply)
Discussion started by: vasuarjula
1 Replies

4. Solaris

Multiple private key to be uploaded

I would like to ask if you have a procedure on how to upload multiple private key for multiple users in solaris? I was only able to add one but when I tried to add several key, it fails. example: a. user1: user1.ppk b. user2: user2.ppk Each with different password on the server. Pls advise (6 Replies)
Discussion started by: lhareigh890
6 Replies

5. UNIX for Dummies Questions & Answers

Extracting a Private key from a keystore?

Hi everyone! I know you can extract public keys from a keystore using the keytool command. But what is the process to extract a private key from a jks keystore and import into another jks keystore using keytool? Any guidance would be greatly appreciated! I can't seem to find anything, I do... (0 Replies)
Discussion started by: Keepcase
0 Replies

6. UNIX for Dummies Questions & Answers

Secure private key

Hello all, We have unix environment and we would like to use ssh public and private key to move between server using ssh. I do know how to test this and have it up and running on some sandbox...but my question is how would one secure the PRIVATE KEY....we are not using a passphrase...and i know... (1 Reply)
Discussion started by: abdul.irfan2
1 Replies

7. Red Hat

ssh private key passwordless authentication

Hello, Need a suggestion to setup private key passwordless authentication. I am not sure this can done or not :wall: here is the sincerio I have two servers, sever1 with a user "user1" and servera with usera here dataflow: usera from servera, will pull/push files to server1 on user1... (2 Replies)
Discussion started by: bobby320
2 Replies

8. OS X (Apple)

Using a private key with SSH in terminal

Before you get the wrong idea, I am not looking for how to generate one. I have a key from a server admin but I can't figure out how to use it in OS X. I have the key, the address and everything I should need but there doesn't seem to be a step by step on how to install the key and use it in... (4 Replies)
Discussion started by: kylebellamy
4 Replies

9. Shell Programming and Scripting

Rsa public private key matching

Hi All, I have a requirement where i need to check if an rsa public key corresponds to a private key and hence return success or failure. Currently i am using the command diff <( ssh-keygen -y -e -f "$PRIVKEY" ) <( ssh-keygen -y -e -f "$PUBLICKEY" ) and its solving my purpose. This is in... (1 Reply)
Discussion started by: mritusmoi
1 Replies

10. UNIX for Advanced & Expert Users

Private and public key encryption

Hi, we have private and public key, encrypt file using public and want to decrypt using private key. can you please advise below commands are correct or other remedy if unix have? encrypt -a arcfour -k publickey.asc -i TESTFILE.csv -o TESTFILE00.csv decrypt -a arcfour -k privatekey.asc... (2 Replies)
Discussion started by: rizwan.shaukat
2 Replies
PGP(1)							      General Commands Manual							    PGP(1)

NAME
pgpgpg - wrapper around Gnu Privacy Guard that takes Pretty Good Privacy command line options SYNOPSIS
pgpgpg [options] pgpfile pgpgpg -e [options] file user ... DESCRIPTION
PGPGPG is a wrapper that allows calls to GnuPG (Gnu Privacy Guard) using the command line options of (Pretty Good Privacy). PGP and GnuPG are encryption programms with high security encryption engines. However, PGP is available without a fee but is not realy free software. GnuPG on the other hand is realy free software and has additionally features but with a different command line syntax than PGP. The goal of pgpgpg is to plug in a command line syntax in front of GnuPG equal to PGP 2.6. OPTIONS
The following options are supported by pgpgpg notice that long options do not use the usual GNU syntax (--) but, instead are of the form +option[=value]. -e Encrypt a plaintext file. -d, -p Decrypt a plaintext file. -s Sign a plaintext file. pgpgpg -s file [-u userid] -sb Create a separate signature certificate (a .sig file) for a given file. pgpgpg -sb file [-u userid] -c Use convential cryptography when encrypting. -o Output to the file specified. Should only be used for encryption, decryption and signature operations (not for key management). -a, +armor ASCII armor the output file. -u, +myname Select the userid to use for some operations. -kg Generate a unique public/secret pair. -ka Add a public or secret key to your key ring. pgpgpg -ka keyfile [keyring] -kx Extract a copy from your public or secret keyring. pgpgpg -kx[a] userid keyfile [keyring] -kv View the contents of your keyring. pgpgpg -kv[v] [userid] [keyring] -kvc View a key fingerprint. pgpgpg -kvc [userid] [keyring] -kr Remove a key from your keyring. pgpgpg -kr userid [keyring] -kd If acting on your secret key, permanently revoke a key and issue a compromise certificate. If acting on a public key, disable or reenable a key. pgpgpg -kd userid -ke Edit trust parameters for a public key or edit the pass phrase or add a userid to a secret key. pgpgpg -ke userid [keyring] -kc View the contents and check the certifying signatures of your public key ring. pgpgpg -kc [userid] [keyring] -ks Sign and certify someone's public key. pgpgpg -ks userid [-u userid] [keyring] The following options are ignored or unsupported: ++armorlines, +autosign, +bakring, +interactive, +keepbinary, +language, +legal_kludge, +nomanual, +pager, +randseed, +tmp and +tzfix. BUGS
PGPGPG does not currently provide an online help (-h or -?) and will not show a summary of commands, as PGP does, when typing: pgp -k The following options are not documented (yet): +batchmode, +cert_depth, +charset, +encrypttoself, +force, +clearsig, +comment, +com- pletes_needed, +compress, +marginals_needed, +pubring, +secring, +textmode and +verbose. AUTHORS
PGP was originally written by Philip R. Zimmermann. PGPGPG was written by Michael Roth. This manpage was written by Javier Fernandez-Sanguino for the Debian distribution (but may be used by others) by glancing at PGP's manpage and the source code from PGPGPG (pgpopts.c) PGPGPG Version 0.13 PGP(1)
All times are GMT -4. The time now is 03:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy