Three Ways To Generate OpenPGP Keys | JSCAPE (2024)

Words By John Carl Villanueva

Last Updated:

To generate OpenPGP keys for secure file transfers, JSCAPE MFT Server offers three methods: using the Key Manager for system-wide encryption tasks, allowing users to generate keys via the web interface for personal use, and employing third-party tools like GPG4Win for external key generation. Each method suits different needs, from administrative control to user-driven encryption.

  1. Blog
    • JSCAPE MFT
    • Managed File Transfer
    • Secure File Transfer
Three Ways To Generate OpenPGP Keys | JSCAPE (1)

JSCAPE MFT Server makes it easy to strengthen secure file transfers with OpenPGP encryption and decryption. But before you can protect your files with this cryptography method, you need to create the necessary public/private key pairs. In this post, we'll introduce you to three ways of doing that.

Option 1: Using The Key Manager

The Key Manager is a module that's only accessible to your system administrator. If you want your end users to generate PGP key pairs (private keys and public keys) themselves, use Option 2. When PGP keys are generated via the Key Manager, those keys can be used anywhere in the system for encrypted messages and are typically used in conjunction with triggers. This is how you would carry out this particular PGP key creation process.

Login to the JSCAPE MFT Server Manager and go to the Keys menu.

Three Ways To Generate OpenPGP Keys | JSCAPE (2)

Navigate to the PGP Keys tab and then click the Generate button.

Three Ways To Generate OpenPGP Keys | JSCAPE (3)

Enter the following information:

Real name - This should be the full name of the key pair owner, e.g., John Smith.

Email - An email address owned by the key pair owner, e.g., [email protected].

Key Algorithm - The encryption algorithm you want to use. The options are RSA and DSA. If you want to compare these two, read: Which Works Best for Encrypted File Transfers - RSA or DSA?

Key Length - The length of your encryption key. Longer is stronger. However, for longer keys, you may need to install the JCE Unlimited Strength Jurisdiction Policy Files. Need insights for choosing key lengths? Read Choosing Key Lengths for Encrypted File Transfers.

Click the OK button.

Three Ways To Generate OpenPGP Keys | JSCAPE (4)

If all goes well, you should then see your newly generated key along with some pertinent information, including the key algorithm, key capabilities (can encrypt, decrypt, sign, etc.), and the key's unique fingerprint.

Three Ways To Generate OpenPGP Keys | JSCAPE (5)

Option 2: Through The User's Web Interface

This option is suitable for situations where you would like users to generate PGP keys on their own. These keys can be used only to encrypt files uploaded to virtual paths that are accessible to the user and have PGP encryption enabled. Assuming you're a user, this is how you would generate your PGP keys.

Login to your JSCAPE MFT Server's web interface.

Three Ways To Generate OpenPGP Keys | JSCAPE (6)

Once inside, navigate to My Account.

Three Ways To Generate OpenPGP Keys | JSCAPE (7)

Next, scroll down until you reach the OpenPGP Encryption section. Click the button that says "Generate OpenPGP Key".

Three Ways To Generate OpenPGP Keys | JSCAPE (8)

Enter pertinent information:

Real name - Your full name.

Email - An email address that you own.

Type - The encryption algorithm you want to use. The options are RSA and DSA. If you want to know more about them, read: Which Works Best for Encrypted File Transfers - RSA or DSA?

Length - The length of your encryption key. Longer is stronger. However, you may need to request that your system administrator install the JCE Unlimited Strength Jurisdiction Policy Files. Need insights for choosing key lengths? Read Choosing Key Lengths for Encrypted File Transfers.

You may also optionally enter a file password to add a layer of protection to your key file.

Click the OK button.

Three Ways To Generate OpenPGP Keys | JSCAPE (9)

Once the key creation process is completed, a file will be downloaded to your local system. This file is your PGP private key, which you'll use to decrypt any file that's been encrypted by this key's corresponding public key.

Ready to see how easy and secure OpenPGP key management can be with JSCAPE MFT Server? Schedule a live demo with us today and explore all the robust features our server has to offer.

Important: Make sure you place the file in a safe location and remember where you put it. Otherwise, you won't be able to decrypt files encrypted by that private key's corresponding public key. Once you return to the main/My Storage screen, you'll notice a new directory named .pgp under your home directory.

Three Ways To Generate OpenPGP Keys | JSCAPE (10)

Then if you navigate into that directory, you'll also see a file named key.pub. This file is your private key's corresponding public key and will be used to encrypt files uploaded to virtual paths you have access to once PGP encryption is enabled. Remember that only one PGP public key may be associated with each account. Generating a new key pair or importing a new public key will overwrite the existing public key file.

Option 3: Using A Third-Party PGP tool

Lastly, you can use any reliable PGP key generator (GnuPG for GPG, GPG4Win, etc). One of the tools I recommend is GPG4Win. It comes with a GUI named Kleopatra. Here's how you use Kleopatra to generate keys.

Launch the app and click the New Key Pair button.

Three Ways To Generate OpenPGP Keys | JSCAPE (11)

Specify user personal details like a name and a corresponding email (for the user ID). Click Next to proceed.

Three Ways To Generate OpenPGP Keys | JSCAPE (12)

Review the parameters and if everything looks good, click Create.

Three Ways To Generate OpenPGP Keys | JSCAPE (13)

You will then be asked to enter a passphrase to protect your key file. Specify a passphrase and then click OK.

Important: Write down or print this passphrase and then place it in a secret location. You'll need it when you import your private key to the server.

Three Ways To Generate OpenPGP Keys | JSCAPE (14)

Once the wizard indicates the key generation process was successful, click Finish.

Three Ways To Generate OpenPGP Keys | JSCAPE (15)

You should then see your newly created key pair on the main screen.

Three Ways To Generate OpenPGP Keys | JSCAPE (16)

To export a key, right-click on the newly created item and click on Export (to export the public key) or Export Secret Keys (to export the secret key).

Three Ways To Generate OpenPGP Keys | JSCAPE (17)

Once you have acquired the exported file(s), you can then import those into your JSCAPE MFT Server instance. If you scroll back to the screenshots we showed you in the first two options, you'll notice there's a button/link for importing.

In some tools, the exported file will contain both the public PGP key and the private PGP key. If you try to import that file into JSCAPE MFT Server, you may get an error because the server will only look for one key at a time (public or private). This is usually a problem only if what you want to import is the secret key or private key, which (in some cases) might contain both the public and private/secret key. Importing the public key doesn't pose any problems because when you export the public key on most tools, the exported file will only contain the public key, not the complete keyring.

To solve the problem when importing private keys into JSCAPE MFT Server, just open the exported file with a text editor and delete the entire public key block. After that, you can import the file as normal.

Now you know three ways of generating PGP keys for encrypting and decrypting files.

Get Your Free Trial

Would you like to try this yourself? JSCAPE MFT Server is platform-agnostic and can be installed on Microsoft Windows, Linux, Mac OS X and Solaris, and can handle any file transfer protocol and multiple protocols from a single server. Additionally, JSCAPE enables you to handle any file type, including batch files and XML.

Request your JSCAPE MFT Server Trial.

Related Content

Two Ways To Generate An SFTP Private Key

Setting Up SFTP Public Key Authentication On The Command Line

That Free FTP Server Might Cost More Than You Think

How To Set Up Automated AS2 File Transfers

Popular Articles

View more by JSCAPE

  • Three Ways To Generate OpenPGP Keys | JSCAPE (18)

    How to setup SFTP public key authentication on the command line

    14min read —

    SFTP Public Key Authentication enhances security by allowing users to access SFTP services without passwords, favoring automated transfers. The setup process involves creating a .ssh directory, generating a key pair with ssh-keygen, securing permissions, and copying the public key to the server, ensuring a secure connection without the need for passwords

    Read Article
  • Three Ways To Generate OpenPGP Keys | JSCAPE (19)

    Active vs. passive FTP Simplified

    24min read —

    The difference between active FTP and passive FTP modes lies in how connections are made. In active mode, the client initiates the connection with a PORT command, making the server connect back for data. In passive mode, the client uses a PASV command, gets a server port, and starts the data transfer connection.

    Read Article
  • Three Ways To Generate OpenPGP Keys | JSCAPE (20)

    Active-active vs. active-passive high-availability clustering

    7min read —

    Active-active high availability clusters distribute workloads evenly across all nodes, ensuring optimal load balancing. In contrast, an active-passive setup keeps nodes on standby, activating them only when the primary fails, leading to potential delays. Active-active configurations offer reduced downtime and improved performance, making them the preferred choice for continuous system availability.

    Read Article

Posts By Category

Explore All Topics

  • JSCAPE MFT
  • Managed File Transfer
  • Secure File Transfer
  • Tutorials
  • Business Process Automation
  • Videos
  • News
  • SFTP
  • Triggers
  • FTP
  • AS2
  • FTPS
  • File Transfer Clients
  • Ad-Hoc File Transfers
  • Reverse Proxy
  • Accelerated File Transfer
  • file transfer
  • Case Studies
  • mft solutions
  • sftp server
  • ssh
  • webdav
  • webdav server
  • Client Certificate Authentication
  • Configuration
  • EDI
  • JSCAPE SaaS
  • RSA 4096
  • authentication
  • encryption
  • file transfer protocol
  • load balancing
  • security
  • transfer protocols
  • ASCII
  • AWS
  • Amazon S3
  • Clustering
  • DSA
  • DSA vs RSA
  • FTP Server
  • FTP command line
  • FTP/S
  • HMAC
  • High Availability
  • Integration
  • Load
  • Load Balancer
  • MDN
  • OpenPGP keys
  • Product Release
  • RSA vs DSA
  • S3
  • SCP
  • SMTP ports
  • Transfer mode
  • Windows SFTP Client
  • binary mode
  • binary transfer
  • client certificate
  • data streaming
  • decrypt
  • diffie-hellman-group1-sha1
  • digital certificates
  • forward proxy
  • ftp active mode
  • ftp active vs passive
  • ftp client
  • ftp commands
  • ftp passive mode
  • ftp put command
  • gnu privacy guard
  • gpg
  • key exchange
  • key fingerprint
  • licenses
  • mft gateway
  • passive ftp
  • pgp
  • port 25
  • port 587
  • proxy server
  • reverse proxy server
  • sftp port
  • sftp port number
  • windows ftp

Related Content

Read more about JSCAPE MFT

  • The benefits of secure file transfer software

    11min read —

    Secure file transfer software protects your data during transit with encryption, authentication, and advanced controls. Learn how IT professionals can mitigate data security risks, achieve regulatory compliance, and enhance automation with solutions like Managed File Transfer (MFT). Discover the key benefits and recommended tools for robust and efficient file transfers today.

    Read Article
  • Fixing SSH/SFTP client connection issues involving Diffie-Hellman-Group1-SHA1

    7min read —

    If you're troubleshooting SSH/SFTP connection issues related to Diffie-Hellman-Group1-SHA1, you’re likely dealing with outdated and insecure key exchange algorithms. This article explains the root cause of the problem and provides four practical solutions to fix it. Learn how to enhance your connection security and maintain compatibility. Read on to find the best solution for your needs.

    Read Article
  • What is Managed file transfer (MFT)?

    11min read —

    Managed File Transfer (MFT) solutions offer secure, automated, and reliable data transfers that meet regulatory compliance and simplify complex workflows.

    Read Article
Three Ways To Generate OpenPGP Keys | JSCAPE (2024)
Top Articles
How Much Bank Balance Do You Need for US Visitor Visa?
Learn How and Where to Deposit Cash to Get Your Money Into the Bank
Mchoul Funeral Home Of Fishkill Inc. Services
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Aadya Bazaar
Chelsea player who left on a free is now worth more than Palmer & Caicedo
OSRS Fishing Training Guide: Quick Methods To Reach Level 99 - Rune Fanatics
Craigslist - Pets for Sale or Adoption in Zeeland, MI
Deshret's Spirit
Slay The Spire Red Mask
Guardians Of The Galaxy Vol 3 Full Movie 123Movies
R/Afkarena
Funny Marco Birth Chart
Insidekp.kp.org Hrconnect
Commodore Beach Club Live Cam
Yakimacraigslist
Www Craigslist Milwaukee Wi
2020 Military Pay Charts – Officer & Enlisted Pay Scales (3.1% Raise)
Buy Swap Sell Dirt Late Model
Juicy Deal D-Art
Menards Eau Claire Weekly Ad
Rs3 Eldritch Crossbow
Dragger Games For The Brain
Nesb Routing Number
Breckiehill Shower Cucumber
Lexus Credit Card Login
Booknet.com Contract Marriage 2
2015 Kia Soul Serpentine Belt Diagram
Xpanas Indo
Pulitzer And Tony Winning Play About A Mathematical Genius Crossword
Leben in Japan – das muss man wissen - Lernen Sie Sprachen online bei italki
Ocala Craigslist Com
What is Software Defined Networking (SDN)? - GeeksforGeeks
Greyson Alexander Thorn
Stouffville Tribune (Stouffville, ON), March 27, 1947, p. 1
Emily Katherine Correro
2016 Honda Accord Belt Diagram
Muma Eric Rice San Mateo
Stafford Rotoworld
Bianca Belair: Age, Husband, Height & More To Know
Fapello.clm
Urban Blight Crossword Clue
More News, Rumors and Opinions Tuesday PM 7-9-2024 — Dinar Recaps
Ehome America Coupon Code
Cvs Coit And Alpha
Www Pig11 Net
Stephen Dilbeck, The First Hicks Baby: 5 Fast Facts You Need to Know
Model Center Jasmin
Okta Hendrick Login
Latest Posts
Article information

Author: Aracelis Kilback

Last Updated:

Views: 6464

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Aracelis Kilback

Birthday: 1994-11-22

Address: Apt. 895 30151 Green Plain, Lake Mariela, RI 98141

Phone: +5992291857476

Job: Legal Officer

Hobby: LARPing, role-playing games, Slacklining, Reading, Inline skating, Brazilian jiu-jitsu, Dance

Introduction: My name is Aracelis Kilback, I am a nice, gentle, agreeable, joyous, attractive, combative, gifted person who loves writing and wants to share my knowledge and understanding with you.