Skip to content

How to create a seperate Public Key and Secret Key.

For questions and information regarding GoAnywhere OpenPGP Studio
  • bfranklin37 Offline
  • Posts: 1
  • Joined: Wed Oct 30, 2013 12:01 pm

How to create a seperate Public Key and Secret Key.

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

Post 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!
Philip Horn
Senior Support Analyst
e. [email protected]
p. 1-800-949-4696
w. GoAnywhere.com | HelpSystems.com
  • falak Offline
  • Posts: 8
  • Joined: Tue Dec 27, 2016 3:03 am

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

Post 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.
  • Support_Rick Offline
  • Support Specialist
  • Posts: 590
  • Joined: Tue Jul 17, 2012 2:12 pm
  • Location: Phoenix, AZ
  • Contact:

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

Post 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.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
  • falak Offline
  • Posts: 8
  • Joined: Tue Dec 27, 2016 3:03 am

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

Post 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.
  • Support_Rick Offline
  • Support Specialist
  • Posts: 590
  • Joined: Tue Jul 17, 2012 2:12 pm
  • Location: Phoenix, AZ
  • Contact:

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

Post 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.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Post Reply