Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

0 Replies

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