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

    • I haven't looked at this in a long time, but it seems to me that outside of a couple of 1st tier vendors, most didn't put the effort in, and we got the generic windows device images. When they did provide the info, it was cool and made it easier to identify devices, but most I dealt with did not, so it had limited usefulness to me.
    • Was really hoping they'd find a way to build this around the Ryzen AI Max+ 395 (or similar) silicon.
    • "running optimized Windows 11 versions" That will be key but I think it is just allowing the new launcher to be the GUI on bootup vs anything else. This thing uses the same hardware as the current ASUS ROG Ally devices, which is not as powerful as an Xbox Series S, but twice the cost.
    • AB Download Manager 1.6.4 by Razvan Serea AB Download Manager is an open-source, feature-rich download manager designed to accelerate downloads, organize files efficiently, and provide seamless control over downloads. With support for multiple connections, resume capability, and an intuitive interface, it enhances the downloading experience for users seeking speed and reliability. The software integrates with various browsers, enabling quick link grabbing and batch downloading. It supports HTTP, HTTPS, and FTP protocols, ensuring broad compatibility with different file sources. Users can schedule downloads, set speed limits, and categorize files automatically for better organization. AB Download Manager is lightweight yet powerful, making it a great alternative to proprietary download managers. Its open-source nature allows developers to contribute, customize, and improve the software as needed. Whether you're downloading large files, managing multiple downloads at once, or seeking an ad-free experience, this tool offers a practical and efficient solution. Key features of AB Download Manager: Multi-Connection Support – Accelerates downloads by splitting files into multiple segments. Resume Capability – Allows paused or interrupted downloads to be resumed without starting over. Batch Downloading – Supports downloading multiple files at once for improved efficiency. Browser Integration – Captures download links directly from browsers for seamless operation. HTTP, HTTPS, and FTP Support – Ensures compatibility with a wide range of file sources. Download Scheduling – Enables users to automate downloads at specific times. Speed Limiting – Lets users control bandwidth usage for optimized performance. File Categorization – Automatically organizes downloaded files into designated folders. User-Friendly Interface – Simple and intuitive design for easy navigation. Cross-Platform Compatibility – Works on multiple operating systems. Ad-Free Experience – No intrusive ads or tracking for a clean user experience. AB Download Manager 1.6.4 changelog: Added Queues are now visible on the home page, next to the categories (#661) In-app update is now supported on macOS (#627) New option to enable the native menu bar on macOS (#646) Fixed macOS: Window now activates properly when "Show Downloads" is clicked from the system tray (#632) Linux: Startup desktop entry now includes an icon (#634) An issue where the "Edit Download" page could unintentionally change the download status (#641) Queue status not updated properly sometimes (#663) Improved Translations updated Minor UI improvements Download: AB Download Manager 1.6.4 | Portable | ~80.0 MB (Open Source) Links: AB Download Manager Website | Github Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Dedicated
      Epaminombas earned a badge
      Dedicated
    • Veteran
      Yonah went up a rank
      Veteran
    • First Post
      viraltui earned a badge
      First Post
    • Reacting Well
      viraltui earned a badge
      Reacting Well
    • Week One Done
      LunaFerret earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      480
    2. 2
      +FloatingFatMan
      264
    3. 3
      snowy owl
      232
    4. 4
      ATLien_0
      231
    5. 5
      Edouard
      171
  • Tell a friend

    Love Neowin? Tell a friend!