Page 1 of 1

How to create a seperate Public Key and Secret Key.

Posted: Wed Oct 30, 2013 12:07 pm
by bfranklin37
How do I create a separate public key for my partner and a secret key for myself instead of making a key pair? Does it make a difference with keys separate or in a key pair?

Ben

Re: How to create a seperate Public Key and Secret Key.

Posted: Thu Oct 31, 2013 3:27 pm
by Support_Philip
Hello Ben,

You will always need to create a Key Pair. The key pair contains both your public and private keys. To share your public key, select the key pair from OpenPGP studio and click the Export Public Key button. Save the file and then share it with your trading partner. When your trading partner sends you an encrypted file using your public key, you will decrypt the file using the private key stored in your key pair.

Please let me know if you have any follow-up questions.

Thanks!

Re: How to create a seperate Public Key and Secret Key.

Posted: Wed Mar 29, 2017 3:22 am
by falak
Hey,
We received file from HTTPS .After receiving file ,we Encrypt that file and move to another server .I want to Encrypt file only using Public key.
When we move file on the server, then we use secret key to decrypt file on that server.
is there any way ,I use only public key to encrypt file.

Re: How to create a seperate Public Key and Secret Key.

Posted: Fri Mar 31, 2017 8:14 pm
by Support_Rick
You'll have to provide more information as to what the issue is...

You can only use a PUBLIC key to encrypt a file. PRIVATE keys are used for "signing" the file only. So, if you get the file from a Website ... and download it... you can encrypt it with any Public Key you have in your PGP Key Manager. That is a matter of just picking and choosing before sending to target server.

Re: How to create a seperate Public Key and Secret Key.

Posted: Mon Apr 03, 2017 7:49 am
by falak
Yes, I just pick the uploaded file and apply encryption and move to server. Problem is that i want to encrypt that file without using secret key.I have only public key. Secret\Private key is used when other team want decrypt that file on server.

Re: How to create a seperate Public Key and Secret Key.

Posted: Mon Apr 03, 2017 9:06 am
by Support_Rick
That's not how PGP Encryption works...

You only ENCRYPT a file with the Public Key .. regardless.
You only DECRYPT/SIGN a file with the Private Key .. regardless

If you happen to have Both (Public & Private) and are wanting to encrypt with just the Public, that's what you're doing. You do not Encrypt a file with a Private key.