gpg2 error

Post here if you are a new Porteus member and you're looking for some help.
User avatar
usuha
White ninja
White ninja
Posts: 10
Joined: 09 May 2016, 13:13
Distribution: Porteus Cinnamon
Location: Japan
Contact:

gpg2 error

Post#1 by usuha » 12 Jun 2017, 01:29

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.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: gpg2 error

Post#2 by Blaze » 12 Jun 2017, 08:29

Hi usuha.
Try it with libassuan-2.4.2-x86_64-1.txz
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
usuha
White ninja
White ninja
Posts: 10
Joined: 09 May 2016, 13:13
Distribution: Porteus Cinnamon
Location: Japan
Contact:

Re: gpg2 error

Post#3 by usuha » 13 Jun 2017, 01:36

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?
Last edited by usuha on 13 Jun 2017, 17:47, edited 2 times in total.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: gpg2 error

Post#4 by Blaze » 13 Jun 2017, 18:16

Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
usuha
White ninja
White ninja
Posts: 10
Joined: 09 May 2016, 13:13
Distribution: Porteus Cinnamon
Location: Japan
Contact:

Re: gpg2 error

Post#5 by usuha » 14 Jun 2017, 01:18

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.

Post Reply