Unable to decrypt a file in dataloading activity | Community
Skip to main content
Level 2
March 29, 2019
Solved

Unable to decrypt a file in dataloading activity

  • March 29, 2019
  • 1 reply
  • 2125 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jonathon_wodnicki

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

1 reply

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
April 1, 2019

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