gpg2 error

Post here if you are a new Porteus member and you're looking for some help.

gpg2 error

Postby usuha » 12 Jun 2017, 02: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
usuha
White ninja
White ninja
 
Posts: 10
Joined: 09 May 2016, 14:13
Location: Japan
Distribution: Porteus Cinnamon

Re: gpg2 error

Postby Blaze » 12 Jun 2017, 09:29

Hi usuha.
Try it with libassuan-2.4.2-x86_64-1.txz
Linux porteus 4.11.2-porteus #1 SMP PREEMPT Sat May 20 19:06:02 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
User avatar
Blaze
Site Admin
Site Admin
 
Posts: 1235
Joined: 28 Dec 2010, 12:31
Location: ☭ Russian Federation, Lipetsk region, Dankov
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64

Re: gpg2 error

Postby usuha » 13 Jun 2017, 02: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, 18:47, edited 2 times in total.
User avatar
usuha
White ninja
White ninja
 
Posts: 10
Joined: 09 May 2016, 14:13
Location: Japan
Distribution: Porteus Cinnamon

Re: gpg2 error

Postby Blaze » 13 Jun 2017, 19:16

Linux porteus 4.11.2-porteus #1 SMP PREEMPT Sat May 20 19:06:02 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
User avatar
Blaze
Site Admin
Site Admin
 
Posts: 1235
Joined: 28 Dec 2010, 12:31
Location: ☭ Russian Federation, Lipetsk region, Dankov
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64

Re: gpg2 error

Postby usuha » 14 Jun 2017, 02: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.
User avatar
usuha
White ninja
White ninja
 
Posts: 10
Joined: 09 May 2016, 14:13
Location: Japan
Distribution: Porteus Cinnamon


Return to Newbie questions



Who is online

Users browsing this forum: No registered users and 1 guest