cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PGP Encryption/Decryption

Former Member
0 Likes
1,786

Hello,

We have purchase AEADAPTIVE and uses their PGP modules for sending the files to third party.

For an encryption scenario, the third party has given their public key to us.

Please clarify me my understanding.

I assume we use their public key to encrypt the file and send it to them.

The third party will use their private key to decrypt the data sent by us.

In this, do we need to send our public key to the third party ?

I am a bit confused.

Regards

Anandh

View Entire Topic
Former Member
0 Likes

Hi,

I am still bit confused as the third party has asked our public key as well for decryption/autentication.

As Basker mentioned, the sender will use receipients public key for encryption and the receiver should use his private key for decryption. Why would he require senders public key? Is it for autentication?

Also, when we asked them the pgp algorithm, they just gave the public key, should i be checking the algorithm in the public key. Please guide on this.

Former Member
0 Likes

Hi,

Your partner will use your public key for following purposes

  • When they want to send an encrypted data to you (Since encryption is always done using receiver's public key)
  • If you have sent signed message (digital signature) to your partner and they wants to validate your signature.

Thanks,

Siva

Former Member
0 Likes

Hi,

Using my partners key, i can able to see the key type as RSA_1. How do you i find the algorithm for this.

AEADAPTIVE supports the following algorithms.

AES_256

 

ï‚· AES_192

ï‚· AES_128

ï‚· TRIPLE_DES

ï‚· TWOFISH

ï‚· BLOWFISH

ï‚· CAST5

ï‚· DES

Regards

Anandh.B

Former Member
0 Likes

Hi,

SAP Supports following key generation alorithms.

  • RSA
  • DSA
  • ELGAMAL

You can generate the key pairs using any one of the above alogrithms. For more details, you can refer http://scn.sap.com/community/b2b-integration/blog/2012/07/12/its-all-about-keys-secure-connectivity-...

Once the keys(Private & Public) are generated, you can use any one of the  symmetric alogrithms mentioned in the list. For more details you refer this article.

http://scn.sap.com/docs/DOC-28872

Coming back to your specific question,

You are using RSA keys and now you can use any of the algorithms in the given list.

Thanks,

Siva

Former Member
0 Likes

Hi Siva,

For Aedaptive, it is mandatory for me to specify the algorithm name.

Since the partner's public key is based on RSA_1, do you mean I can use any of the algorithms mentioned in the list and the partner can able to decrypt it.

I referred your document and it does not mention any algorithm for encyrption.

Regards

Anandh.B

Ask a Question