Recommended Posts

I just installed Linux Mint 17.1 Rebecca 64-bit and for some reason I just cannot generate a pgp key.  I goto Passwords and Keys and File -> New -> PGP Key -> Enter Name and Email ->  Then I enter password and nothing happens.  It was saying "Could Not Generate PGP Key - General Error" but I changed my password length from 50 characters to 25 and now it's just not saying anything.  I press okay and nothing happens.  If someone could help me out that would be great. Could this be a file/folder permission issue, idk? Also I'm kind of a new Linux user, so keep that in mind.  Thanks in advanced for the help.

Link to comment
https://www.neowin.net/forum/topic/1241364-pgp-error-with-linux-mint/
Share on other sites

I tried this, but it's still not working....If someone could help me out that'd be great.  It's a new mint install..Heres my output....

gpg --gen-key

gpg (GnuPG) 1.4.16; Copyright (C) 2013 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Please select what kind of key you want:
   (1) RSA and RSA (default)
   (2) DSA and Elgamal
   (3) DSA (sign only)
   (4) RSA (sign only)
Your selection? 1
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048) 4096
Requested keysize is 4096 bits
Please specify how long the key should be valid.
         0 = key does not expire
      <n>  = key expires in n days
      <n>w = key expires in n weeks
      <n>m = key expires in n months
      <n>y = key expires in n years
Key is valid for? (0) 0
Key does not expire at all
Is this correct? (y/N) y

You need a user ID to identify your key; the software constructs the user ID
from the Real Name, Comment and Email Address in this form:
    "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"

Real name: K
Email address: k@gmail.com
Comment:
You selected this USER-ID:
    "K <k@gmail.com>"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
You need a Passphrase to protect your secret key.

We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.

Not enough random bytes available.  Please do some other work to give
the OS a chance to collect more entropy! (Need 231 more bytes)
..+++++

Not enough random bytes available.  Please do some other work to give
the OS a chance to collect more entropy! (Need 198 more bytes)
........+++++
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.

Not enough random bytes available.  Please do some other work to give
the OS a chance to collect more entropy! (Need 250 more bytes)
+++++

Not enough random bytes available.  Please do some other work to give
the OS a chance to collect more entropy! (Need 256 more bytes) 

why it's not working? looks like it's collecting all the needed bytes. just let it run and do some work, browse the web. it might take up to 15mins till ennough random bytes are collected. be patient.  :)

Ok. So the key generated alright. Also, I'm using GPA as the gui. GPA has a clipboard feature.

I wanted to know. Whats the point of having an expiration date on my gpg key if I can just generate a new one? Does it just make it so I cannot use that key to encrypt/decrypt past that date and it forces me to generate a new one? Thanks.

  On 01/01/2015 at 02:50, kman1985 said:

Ok. So the key generated alright. Also, I'm using GPA as the gui. GPA has a clipboard feature.

I wanted to know. Whats the point of having an expiration date on my gpg key if I can just generate a new one? Does it just make it so I cannot use that key to encrypt/decrypt past that date and it forces me to generate a new one? Thanks.

For personal use, there's not much use.  If you were implementing PGP in a business environment though where you were dealing with lots of data and lots of PGP keys for lots of people, where compromised security could mean lost man hours and money, expiration dates would help you make sure things stayed secure.  For example if an employee leaves your company and you forget to revoke their e-mail keys, having an expiration date makes sure they get invalidated automatically after a while anyway.  Regularly changing file encryption keys would help make sure that only people in the company with access to the updated keys have access to the files, and not adversaries who may have come into possession of of older encryption keys.

 

For your personal use though, an expiration date isn't really necessary.

  On 01/01/2015 at 02:50, kman1985 said:

Ok. So the key generated alright. Also, I'm using GPA as the gui. GPA has a clipboard feature.

I wanted to know. Whats the point of having an expiration date on my gpg key if I can just generate a new one? Does it just make it so I cannot use that key to encrypt/decrypt past that date and it forces me to generate a new one? Thanks.

 

well it looks like the clipboard is there to try to see if encryption/decryption works and can be used to directly do so

 

  Quote

 

 

How to create your encrypted message.

In the GPA, there is a clipboard tool. This is a place where you will write and encrypt your messages.

Try encrypting a message in your own key.

1) Open the clipboard in the GPA and type a message.

2) Select the encrypt option up top.

3) Select the Key that you wish to encrypt to, try your key first so you get the hang of it. The message should now become the same kind of random looking data you saw earlier.

4) Choose the decrypt option and type in your password if you encrypted to your own key, the message should now return to its original format.

 

read here

 

personally i rather use KGpg and encrypt my emails directly in Kontact/Kmail or via a Dolphin-extension i use it to encrypt/decrypt files/folders.

 

for ubuntu, use nautilus and nautilus-seahorse for encryption/decryption via the context menu.

This topic is now closed to further replies.
  • Posts

    • What I miss mostly is that I cannot resize the taskbar. I want a smaller taskbar.
    • BRING BACK the taskbar folder popup quick-launch feature. ...or whatever it was called. :-)
    • The sound never left. My Windows 10 installation still has it enabled, I found the checkbox in an earlier build and turned it on and my PC chimes every time it cold boots. That's how I know Windows Update didn't shut down after updating despite me telling it to. That being said... seeing Apple Liquid Glass has me thinking, if Windows 11 brought back the 7 Aero Glass running on top of the new kernel, minus the AI crap, I might actually be willing to move to it.
    • These days the differences are small, so if you're a petty nerd over dumb things, you'll be forever stuck behind and won't ever enjoy the latest and current niceties. Yup, it's a real life lesson too.
    • Microsoft 365 Roadmap Weekly: New features for the new Outlook, Copilot updates and more by David Uzondu This week, Microsoft added a slew of new entries to the public Microsoft 365 Roadmap, including plans for Teams, the new Outlook, and, of course, Copilot and Copilot Chat. Starting with Outlook, three practical updates are headed for the new Outlook for Windows client. First up, you'll finally be able to add attachments to emails while you are offline, a basic function that has been sorely missed. The remaining two features are slated for August. One will let you create a rule that specifically triggers a desktop alert. The other adds a folder deletion warning. If you try to delete a folder on which an email rule depends, Outlook will stop you and prompt you to fix the rule first. Like Google with Gemini, Microsoft continues to push Copilot deeper into its applications, with several updates planned for mid-2025. Later this month, Copilot will be able to give you a quick summary of recent changes and comments on a file right from the backstage view in Word, Excel, and PowerPoint, before you even open the document. Also, Copilot Chat will get the ability to limit its responses to selected content sources, like specific SharePoint sites or files, which should make its answers more focused. Next month, PowerPoint users will get two more Copilot tricks. You will be able to rewrite selected text using a custom natural language prompt and add entirely new topics to an existing presentation, with Copilot generating slides that match the existing look and feel. Edge is not left out, as its integrated Copilot Chat will soon be able to access content across multiple open tabs, not just the active one, with that update scheduled for August. Finally, for organizations that heavily use Teams Rooms Pro on Windows, an August update will allow for simultaneous town hall and webinar views. This will keep the presenter's backstage controls, like green room and backroom chat, hidden from the main audience display in the room.
  • Recent Achievements

    • Apprentice
      Wireless wookie went up a rank
      Apprentice
    • Week One Done
      bukro earned a badge
      Week One Done
    • One Year In
      Wulle earned a badge
      One Year In
    • One Month Later
      Wulle earned a badge
      One Month Later
    • One Month Later
      Simmo3D earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      610
    2. 2
      ATLien_0
      285
    3. 3
      +FloatingFatMan
      179
    4. 4
      Michael Scrip
      151
    5. 5
      Steven P.
      112
  • Tell a friend

    Love Neowin? Tell a friend!