Hi, All!
I have a problem with decrypting files using UiPath which are previously encrypted with Kleopatra. The error message is: “Decrypt File: File Decryption Failed unknown packet type encountered: 20”
But when I encrypt and after that decrypt a file with UiPath using the same keys generated by Kleopatra, there is no problem. I need only to decrypt a file.
Please, let me know how to resolve this issue?
Hi @zoya.dzhuneva,
It might be due to some specific settings used upon encryption with the 3rd party service/tool. The only current workaround would be to:
-
Either set the settings in the 3rd party service/tool as explained in the documentation:
Activities - Encrypt File
-
Use custom code to decrypt the input (either via Invoke Code activity or a Coded Workflow)
Out of interest for future improvements, could you please share the encryption algorithm and its settings with us? We are thinking of exposing some of the encryption-specific configuration settings, and it would help us understand the context a bit better.
Hi again
gpg: encrypted with rsa4096 key
gpg: AES256.OCB encrypted data
My bad! I was quite in a rush and did not spot the PGP in the title…
So more in short - the UiPath.Cryptography.Activities package does not support the PGP for now.
There is, however, this Marketplace package that could be used here:
https://cloud.uipath.com/productteam/marketplace_/listings/pgp-encryption
Sorry, can’t open the link.
The error described above is when using PGP Encrytion version 1.0.6, PgpCore [5.9.0, )
I can see on the Marketplace that there is a 1.0.7 version available there:
With the following release notes:
Could you please give it a go?
Yes, I did. The problem still remains …