Adeptia Question - Encryption and Decryption
We would like to know how we could use 2 key encryption? Our client is going to use 2 keys to encrypt -> our public key and their private key to encrypt. How can we decrypt it? Do I call the Custom plugin twice but what would be the sequence? Would we have to know the sequence of order in which it was encrypted? Like if client encrypted data file first using our public key and then using their private key. So would we have to know the order in which the file was encrypted? How can we achieve the decryption & encryption using 2 Key PGP using Adeptia?
-
PGP encryption can be done by using public key only. If you want to encrypt a file twice with two different public keys, then you have to use separate “custom plug-in” to encrypt the source file or you have to modify your current custom plug-in. Similarly, same thing can be followed for the process of Decryption also:
Structure of Encryption Process flow should be similar to:
FileSource >> CP_Encryption (Client1_Pub_Key) >> CP_Encryption (Client2_Pub_Key) >> FileTarget
Structure of Decryption Process flow should be similar to:
FileSource >> CP_Decryption (Client2_Pvt_Key) >> CP_Decryption (Client1_Pvt_Key) >> FileTarget
PGP encryption/decryption is added as a service in upcoming Adeptia Suite6.0 maintenance patch. After that you will only need to create an activity for encryption/decryption by uploading public/private key file and you can use them in process flow directly.
0
Post is closed for comments.
Comments
1 comment