How to convert your PGP key to a GPG key (2024)

I would like to include the following text in the pgp package,under a name like /usr/share/doc/pgp/UPGRADING_TO_GPG.But I thought it best to send it to the list first, so thateveryone has a chance to tell me that it's all wrong or something.By the way, would anyone like to maintain pgp? I don't think Iwill be using it much from now on :-)Richard Braakman------------------------------------------------------------------------For a long time I have wanted to switch from using PGP 2.x to using GPG(because it's Free). But I didn't want to give up my trusty PGP key,which has a long history and has gathered a lot of signatures thatI would have trouble getting again.Now that the RSA patent has expired, GPG comes with RSA supportby default. This means that it's actually possible to convertyour PGP key to a GPG key, and use it normally with GPG. Youwill not need gpg-idea or any other non-free component.The steps are quite easy. I wrote them down here, because I expectthat a number of Debian maintainers are in the same situationand can benefit from this advice.Note that the GPG FAQ contains a section about the same thing,but it's aimed at maintaining compatibility with PGP 2.x. The procedure I describe here is designed solely to switch to GPG without giving up your PGP key. It will not let youexchange encrypted mail with someone who still uses (only) PGP 2.x.But if you ever need to do that, you can pull out your old copyof PGP for that -- it's the same key!Here are the steps: 0. Make sure your version of GPG supports RSA. You should be okay if you have GPG 1.0.3 or newer. I used GPG 1.0.4 myself. 1. Back up your .pgp directory, and your .gnupg directory (if any). (Note: I started with an empty .gnupg directory for this. If you already have a GPG ring with a set of keys, you'll end up having two keys with probably the same userids. I don't know if that's bad.) 2. Remove the passphrase from your PGP secret key. This is necessary because the secret key is protected using the IDEA algorithm, and IDEA is still patented so GPG does not support it. Command: pgp -ke userid where userid is what you use to access your key, usually your name or email address. Just hit Enter when PGP asks for the new passphrase. 3. Import your secret and public keys into GPG. Command: gpg --import $HOME/.pgp/secring.pgp $HOME/.pgp/pubring.pgp There doesn't seem to be a way to tell GPG to import only selected keys from those files, so you may want to first use PGP to export your keys to a small keyring. (Do not use ASCII armor for that.) I simply imported all the keys, because I wanted to convert to using GPG for everything. 4. Re-protect your secret key with a passphrase. You removed the passphrase in step 2, you can now put it back. Command: gpg --edit-key userid GPG will tell you what key you accessed and prompt you to do something with it. Tell it "passwd" to change the passphrase. 5. Check if everything worked. Sign and encrypt a small file, mail it to a friend, see if you can decrypt something mailed to you, upload a Debian package, that sort of thing. 6. Clean up the backups. Remember, you un-protected your PGP key. It's still not protected, and it's the same key you are now using with GPG. Make sure no one can get at it. You can restore the backup, or run pgp -ke again, or -- if you don't plan to ever use PGP again -- delete the key.Well, I hope this helps someone. I wrote this down after exactly oneexperience with converting keys -- I'd love to have feedback fromsomeone else who tried it.Richard Braakman------------------------------------------------------------------------
Reply to:
How to convert your PGP key to a GPG key (2024)
Top Articles
Overview of SEBI's Prohibition of Insider Trading Regulations (PIT Regulations)
A tool for action: how the 5 Second Rule can change your life | Flash Pack
Craigslist Myrtle Beach Motorcycles For Sale By Owner
Patreon, reimagined — a better future for creators and fans
Ffxiv Palm Chippings
Fat People Falling Gif
Katmoie
Jennette Mccurdy And Joe Tmz Photos
CA Kapil 🇦🇪 Talreja Dubai on LinkedIn: #businessethics #audit #pwc #evergrande #talrejaandtalreja #businesssetup…
Natureza e Qualidade de Produtos - Gestão da Qualidade
Regal Stone Pokemon Gaia
This Modern World Daily Kos
Shannon Dacombe
Walmart Double Point Days 2022
Cinebarre Drink Menu
Amc Flight Schedule
Nesz_R Tanjiro
Msu 247 Football
623-250-6295
Barber Gym Quantico Hours
Why do rebates take so long to process?
How many days until 12 December - Calendarr
Shoe Station Store Locator
Workshops - Canadian Dam Association (CDA-ACB)
Tokyo Spa Memphis Reviews
55Th And Kedzie Elite Staffing
Narragansett Bay Cruising - A Complete Guide: Explore Newport, Providence & More
Anesthesia Simstat Answers
Blush Bootcamp Olathe
Mumu Player Pokemon Go
Most popular Indian web series of 2022 (so far) as per IMDb: Rocket Boys, Panchayat, Mai in top 10
Murphy Funeral Home & Florist Inc. Obituaries
Goodwill Houston Select Stores Photos
Closest 24 Hour Walmart
National Insider Threat Awareness Month - 2024 DCSA Conference For Insider Threat Virtual Registration Still Available
Low Tide In Twilight Manga Chapter 53
Sofia With An F Mugshot
Pa Legion Baseball
Sarahbustani Boobs
Booknet.com Contract Marriage 2
Grand Valley State University Library Hours
Squalicum Family Medicine
Reli Stocktwits
Phone Store On 91St Brown Deer
How to Find Mugshots: 11 Steps (with Pictures) - wikiHow
Is Chanel West Coast Pregnant Due Date
Shannon Sharpe Pointing Gif
Model Center Jasmin
Mawal Gameroom Download
Access One Ummc
Latest Posts
Article information

Author: Virgilio Hermann JD

Last Updated:

Views: 5869

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Virgilio Hermann JD

Birthday: 1997-12-21

Address: 6946 Schoen Cove, Sipesshire, MO 55944

Phone: +3763365785260

Job: Accounting Engineer

Hobby: Web surfing, Rafting, Dowsing, Stand-up comedy, Ghost hunting, Swimming, Amateur radio

Introduction: My name is Virgilio Hermann JD, I am a fine, gifted, beautiful, encouraging, kind, talented, zealous person who loves writing and wants to share my knowledge and understanding with you.