Page 1 of 1

gpg2 error

Posted: 12 Jun 2017, 01:29
by usuha
Hello.
I am using "Porteus Cinnamon".
I installed "gnupg2-2.0.30-x86_64-1.xzm".

guest@porteus:~$ gpg2 --full-gen-key

The following error message will be displayed.
gpg2: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory

If anyone knows how to solve this problem, please give me a professor.

Re: gpg2 error

Posted: 12 Jun 2017, 08:29
by Blaze
Hi usuha.
Try it with libassuan-2.4.2-x86_64-1.txz

Re: gpg2 error

Posted: 13 Jun 2017, 01:36
by usuha
Thanks a lot Blaze.

The following message will be displayed.
I could not generate a GPG key.

gpg: WARNING: The GNOME keyring manager hijacked the GnuPG agent.
gpg: WARNING: GnuPG will not work properly - please configure that tool to not interfere with the GnuPG system!

What kind of operation procedure is necessary to solve this problem?

Re: gpg2 error

Posted: 13 Jun 2017, 18:16
by Blaze

Re: gpg2 error

Posted: 14 Jun 2017, 01:18
by usuha
Thanks a lot Blaze.

Code: Select all

guest @ porteus: ~ $ gpg2 --gen-key
gpg (GnuPG) 2.0.30; Copyright (C) 2015 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.

gpg: The directory "/home/guest/.gnupg" has been created
gpg: New configuration file "/home/guest/.gnupg/gpg.conf" has been created
gpg: * warning *: The options in /home/guest/.gnupg/gpg.conf are not yet valid for this run
gpg: I created keyring "/home/guest/.gnupg/secring.gpg"
gpg: I created keyring "/home/guest/.gnupg/pubring.gpg"
Please select the type of key you want:
   (1) RSA and RSA (default)
   (2) DSA and Elgamal
   (3) DSA (signature only)
   (4) RSA (signature only)
What is your choice? 1
The RSA key is possible with a length of 1024 to 4096 bits.
What is the key length? (2048) 4096
The requested key length is 4096 bits
Please specify the expiration date of the key.
         0 = key is indefinite
      <N> = Key expires in n days
      <N> w = Key expires in n weeks
      <N> m = Key expires in n months
      <N> y = The key has expired in n years
How long is the key valid? (0) 0
(Null) is indefinite
Is this correct? (Y / N) y

GnuPG needs to configure the user ID to identify your key.

Real name: Abcd Xyz
E-mail address: 1234@openmailbox.org
Comment:
I selected the following user ID:
    "Abcd Xyz <1234@openmailbox.org>"

Change name (N), comment (C), email (E), OK (O) or Quit (Q)? O
I need a passphrase to protect my private key.

gpg: WARNING: The GNOME keyring manager hijacked the GnuPG agent.
gpg: WARNING: GnuPG will not work properly - please configure it to not interfere with the GnuPG system!
It is necessary to generate a lot of random bytes. Hit the keyboard, move the mouse
By doing other operations such as accessing the disk during prime generation, random number generation
You can give the vessel an opportunity to supply enough entropy.
This problem was not solved by my technical skill.