Posted Mon, 03 Dec 2018 23:45:32 GMT by

Hi!

I have received this request from one of our customers, that they need us to encrypt certain files and send them over via sftp.

This is their PGP Key, which is used globally (I know that it's like 7 years old, but still, but this what they are using today).

DSA 1024/ELgamal 4096 (SE Public) 

Public key id = 4a7e4f20895ad439 

UserId = 204@fps 
Used for signing/verifying signatures 
Algorithm = DSA 
Bit strength = 1024 
Master key = true 
Creation time = 2011-04-06T02:16:49+02:00[Europe/Stockholm] 
Never expires 
Fingerprint = de 3e 5b 18 64 a9 54 2f 79 39 24 82 4a 7e 4f 20 89 5a d4 39 

Public key id = 9a292b5c1bf45d13 
Used for encryption/decryption 
Algorithm = ElGamal 
Bit strength = 4096 
Master key = false 
Creation time = 2011-04-06T02:16:49+02:00[Europe/Stockholm] 
Never expires 
Fingerprint = 2c 6f 10 b7 a2 82 67 5b e9 fc ae ba 9a 29 2b 5c 1b f4 5d 13 
Download public key

Does any of you had a similar request?
If yes, could you please explain a bit how did you set the Cryptography settings in order to encrypt files with this key?

Much appreciated!

AutoMate Professional 10.7.0.3

Posted Sat, 08 Dec 2018 01:30:41 GMT by

Hello Dorel,

Our encryption action usually uses Public (PKR) and Secret (SKR) keyring files to encrypt. However, we can usually use the certificate file (ASC), such as the one you have provided, as well. Please point to the ASC for both the public and secret key, and select recipient. That should allow you to encrypt. Here is the article on the action itself, which includes a small example at the bottom. It explains the functionality and settings of the action:

https://static.helpsystems.com/automate/help/am_11/Default.htm?_ga=2.216164950.1767789090.1543857930-601939615.1434548484#TechRef/Actions_Activities/Cryptography/Cryptography_-_Encrypt.htm?Highlight=encrypt

Posted Mon, 21 Jan 2019 20:31:54 GMT by

Solution, from Devin Cannon:

Add a “Cryptography: Encrypt” step.  Select the file you want encrypted and destination for the encrypted file.  Under “ENCRYPT”, change the “Encryption Type” to “OpenPGP public key” and use the ‘DSA_1024-ELgamal_4096_(SE_Public).asc’ as the keyring files.  Under “Recipient(s)”, click on “Select Recipients”.  Your recipient should be shown here.  Select them and click ‘OK’.

 Here is the step I used:

 

 That’s it.  Verify that the recipient can decrypt the file on their end.

Thanks Devin!

 

Posted Fri, 20 Aug 2021 06:01:18 GMT by

I have a vendor needing files sent to them encrypted who gave us a certificate file (ASC).  I did the same as mentioned above:  Please point to the ASC for both the public and secret key, and select recipient. And it works perfectly.   

Thanks!

Clint

You must be signed in to post in this forum.