cancel
Showing results for 
Search instead for 
Did you mean: 

Directory for public key, PGP Encryption

Former Member
0 Kudos

Hi Experts,

I am sending a file to a third party who will receive the file in a encrypted format. So PI will do the encryption. I am just wondering in the receiver Communication Channel, when I configure the module for the PGPEncryption, I am wondering who will provide the information following:

1, Public key, the third party provide?

2. Private key,

3. Is the directory (keyRootPath) where public key and private key sit, on our site or the third party site?

Thank you very much for your help!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Encryption :

If you are encrypting the file, then use public key to encrypt the file and that will be provided by the third party.

If you are using Encryption + Signing then you have to use your own private key + password for signing and partner's (Third party) public key for encrypting.

Decryption: If Third party is sending only encrypted file (by using your public key) then you have to use your own private key in communication channel to decrypt the file.

If the third party is sending encrypted file with signing (using your public key for encryption and their private key for signing) then we have to validate using third party public key and  your own private key+password to decrypt the file.

Yes, both the keys should be stored in the same path (keyRootPath) will be on your site only. Contact Basis team for that.They can help you.

BR

Praveen

Former Member
0 Kudos

Hi Praveen, thank you very much for the explanation!

Answers (2)

Answers (2)

Former Member
0 Kudos

It should be your PI root path and details.. refer the blog.. .

Former Member
0 Kudos

Thank you Ramkumar.

I read the blog already. But I am still not clear that both public and private key are stored in our site or the third party site? and both public and private key should be stored in the same directory, right?

Sorry my questions might sound silly, I am really new to the PGP encryption

Former Member
0 Kudos

it should be both ways. if you are going to encrypt and decrypt - both you and partner share their respective public keys.  Keys should be stored in same directory.

Refer William's blog.

Former Member
0 Kudos

Thank you Ramkumar.

William's blog helps on understanding the concept.

Former Member
0 Kudos

Any gurus have any advice on this?

Really appreciate your input!

Blue