question

LuLi-9013 avatar image
0 Votes"
LuLi-9013 asked MahdiGhazali-7890 answered

What is best way to do PGP file encryption/decryption in logic apps

Hello,

I have a requirement to encrypt/decrypt file using PGP in Azure Logic Apps. It looks like there is no out-of-box connector i can use. Does that mean i have to write my own code for this encryption function? I am new to Azure integration, please correct me if i am wrong and that would be helpful if anyone can give any suggestions?

Thanks in advance

azure-logic-apps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MayankBargali-MSFT avatar image
1 Vote"
MayankBargali-MSFT answered MayankBargali-MSFT commented

Hi @LuLi-9013

Welcome to Microsoft Q&A! Thanks for posting the question.

There are no PGP file encryption/decryption in logic apps. You need to offload this functionality to azure function and call the azure function within logic app.
You need to write your own code for encryption/decryption. I come across this github repro and you can try to explore it and see if it helps you.
Alternatively if you are comfortable with python you can leverage the python-gnupg library.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for your response.

I did research and i think i need to install PgpCore library for my azure function. Is that possible to install the NuGet package straightway in azure portal ?

0 Votes 0 ·
MahdiGhazali-7890 avatar image
0 Votes"
MahdiGhazali-7890 answered

Hello everyone,
Were you able to use the github repo?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.