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)
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
pgpverify
pgpverify(8) System Manager's Manual pgpverify(8)NAME
pgpverify - cryptographically verify Usenet control messages
SYNOPSIS
pgpverify
DESCRIPTION
The pgpverify program reads (on standard input) a Usenet control message that has been cryptographically signed using the signcontrol pro-
gram. pgpverify then uses the pgp program to determine who signed the control message. If the control message was validly signed, pgpver-
ify outputs (to stdout) the User ID of the key ID that signed the message.
OPTIONS
The pgpverify program takes no options.
EXIT STATUS
pgpverify returns the follow exit statuses for the following cases:
0 The control message had a good PGP signature.
1 The control message had no PGP signature.
2 The control message had an unknown PGP signature.
3 The control message had a bad PGP signature.
255 A problem occurred not directly related to PGP analysis of signature.
AUTHOR
David C Lawrence <tale@isc.org>
ENVIRONMENT
pgpverify does not modify or otherwise alter the environment before invoking the pgp program. It is the responsibility of the person who
installs pgpverify to ensure that when pgp runs, it has the ability to locate and read a PGP key file that contains the PGP public keys for
the appropriate Usenet hierarchy administrators.
SEE ALSO pgp(1)NOTES
Historically, Usenet news server administrators have configured their news servers to automatically honor Usenet control messages based on
the originator of the control messages and the hierarchies for which the control messages applied. For example, in the past, David C
Lawrence <tale@uunet.uu.net> always issued control messages for the "Big 8" hierarchies (comp, humanities, misc, news, rec, sci, soc,
talk). Usenet news administrators would configure their news server software to automatically honor newgroup and rmgroup control messages
that originated from David Lawrence and applied to any of the Big 8 hierarchies.
Unfortunately, Usenet news articles (including control messages) are notoriously easy to forge. Soon, malicious users realized they could
create or remove (at least temporarily) any Big 8 newsgroup they wanted by simply forging an appropriate control message in David
Lawrence's name. As Usenet became more widely used, forgeries became more common.
The pgpverify program was designed to allow Usenet news administrators to configure their servers to cryptographically verify control mes-
sages before automatically acting on them. Under the pgpverify system, a Usenet hierarchy maintainer creates a PGP public/private key pair
and disseminates the public key. Whenever the hierarchy maintainer issues a control message, he uses the signcontrol program to sign the
control message with the PGP private key. Usenet news administrators configure their news servers to run the pgpverify program on the
appropriate control messages, and take action based on the PGP key User ID that signed the control message, not the name and address that
appear in the control message's From or Sender headers.
Thus, using the signcontrol and pgpverify programs appropriately essentially eliminates the possibility of malicious users forging Usenet
control messages that sites will act upon, as such users would have to obtain the PGP private key in order to forge a control message that
would pass the cryptographic verification step. If the hierarchy administrators properly protect their PGP private keys, the only way a
malicious user could forge a validly-signed control message would be by breaking the RSA encryption algorithm, which (at least at this
time) is believed to be an NP-complete problem. If this is indeed the case, discovering the PGP private key based on the PGP public key is
computationally impossible for PGP keys of a sufficient bit length.
<URL:ftp://ftp.isc.org/pub/pgpcontrol/> is where the most recent versions of signcontrol and pgpverify live, along with PGP public keys
used for hierarchy administration.
pgpverify(8)