Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: PGP Encryption
Topic Summary: Looking fior Instructions
Created On: 10/16/2009 11:03 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 10/16/2009 11:03 AM
User is offline View Users Profile Print this message

Author Icon
Student (5-19 posts)

Posts: 9
Joined: 06/03/2005


I have a number of production requests to use PGP encrytpion and FTP files to an external vendor. However the lack of documentation from Network Automation on how to do this is very concerning and I fear I will not be able to use BPA Server 7 to do this. I believe when Automate BPA Server 7 is installed it also installs OpenPGP. Is there a how-to on how I would encrypt the file in question and what I would have the external client run to decrypt it? Wouldn't they be able to unencrypt the file with OpenPGP RFC 4880 key compliant software?

Thank you.

 Category Survey
 10/16/2009 01:42 PM
User is offline View Users Profile Print this message

Author Icon
Hamid Noorbakhsh

Posts: 454
Joined: 07/29/2008


I think part of your question is answered in this thread.

You can encrypt the file using the Encryption Action and then FTP it over using the Internet/FTP actions. The recipient has to decrypt it then. Any PGP compliant software would do. It can be 'PGP Desktop' which is a paid application, or I useGPG4Win myself. Of course the paid versions are more user friendly, but GPG4Win does the job for me.

For your how-to:
1. Open Task Builder (BPA or AutoMate) and add a Cryptography/Encryption Action.
2. Choose your source file to be encrypted and destination file.
3. Choose 'OpenPGP Public/Private Key' under 'Type'
4. Click on 'PGP' tab and enter path to your keyrings - This will populate the lower list
5. Choose the recipient.
6. Press 'OK'

Other parameters have to be assigned if needed e.g. If you are overwriting a file.

When this task is run, you will have the encrypted file.

Hope this clarifies the steps. NO other software is needed for this to work, however, you need the public/private keyrings.

 Category Survey
AutoMate 7 version:
Windows version:

Thank you for choosing AutoMate

Hamid Noorbakhsh | Senior Software Engineer
AutoMate | A Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
 10/30/2009 03:25 PM
User is offline View Users Profile Print this message

Author Icon
Student (5-19 posts)

Posts: 7
Joined: 12/10/2008

Hi Jason,

We have had good success encrypting and decrypting using OpenPGP that is built-in to Automate 7.

We use GnuPG to manage our keyring files, and configure the encryption task step to point to these keyring files.

As the external vendor would be providing their public key for you to use to encrypt the file, they most likely have a compliant PGP solution already in place.


 Category Survey

AutoMate Premium / MS Windows Server 2008 R2
 11/05/2009 01:03 PM
User is offline View Users Profile Print this message

Author Icon
Student (5-19 posts)

Posts: 9
Joined: 06/03/2005

Thanks for the info. I figured out how to get the OpenPGP functionality working which suits our needs perfectly. It's actually quite nice.. now on to figuring out how to resolve Automates issue with raw FTP commands. Thanks.

 Category Survey
 07/21/2013 04:14 PM
User is offline View Users Profile Print this message

Author Icon
n00b (>6 posts)

Posts: 2
Joined: 07/21/2013

HI jason,

I know it is an old thread. Can you elaborate how you made OPenPGP phrase working for you. My problem is i have public key and private key. But i do now know how to generate the keyring file from that public key.

 Category Survey
 07/22/2013 08:06 AM
User is offline View Users Profile Print this message

Author Icon
Liz Casale

Posts: 940
Joined: 05/23/2011

Hi Jason,

It sounds like you'd want to select OpenPGP public key. You should be able to use Open PGP to encrypt and decrypt these files. There is actually no need to install PGP on your machine if you use our built in OpenPGP option. All you will need to do is set the "Encryption Type" to OpenPGP passphrase or public key. The Public and Private Keyring files would need to be created in your local environment and then your keys imported into the keyrings. Unfortunately, we do not have tutorials on this. However here is an article that may assist you with creating the keyring files:

*You can use any keyring manager to import your keys. Our preference is either Gpg4win ( or Kleopatra (

 Category Survey

Liz Casale
Technical Support Representative
(213) 738-6966
Network Automation, Inc.


AM5; AM6; AM7; AM8; AM9
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 6686 on 11/01/2020 at 01:24 AM.
There are currently 3260 guests browsing this forum, which makes a total of 3260 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog