Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

Unable to decrypt a file in dataloading activity

Avatar

Level 2

Hello,

we have a scenario where we need to decrypt two different files using two different private keys.

can we have the two private keys with same passphrase installed in adobe campaign, will Adobe campaign be able recognize which key to use though we have same passphrase and successfully decrypt the file. Is it possible?

we are using data loading(file) activity to decrypt the file

Command we are using : gpg --passphrase <%= vars.passPhraseKey %> --no-tty --decrypt <%= vars.tempFileName %>

thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

GPG automatically selects the correct key for the file it's decrypting, so if both are installed on the app server it should just work.

You can also force it to cycle all its keys with '--try-all-secrets' if desired.

Thanks,

-Jon

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

GPG automatically selects the correct key for the file it's decrypting, so if both are installed on the app server it should just work.

You can also force it to cycle all its keys with '--try-all-secrets' if desired.

Thanks,

-Jon