<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[HyperForum — [Hyperbola GNU/Linux-libre 0.4] Problems with key-generation?]]></title>
	<link rel="self" href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=562&amp;type=atom" />
	<updated>2021-07-17T18:58:20Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.hyperbola.info/viewtopic.php?id=562</id>
		<entry>
			<title type="html"><![CDATA[Re: [Hyperbola GNU/Linux-libre 0.4] Problems with key-generation?]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=3196#p3196" />
			<content type="html"><![CDATA[<p>Thanks Heckyel, that did it! <img src="https://forums.hyperbola.info/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></content>
			<author>
				<name><![CDATA[sagaracharya]]></name>
			</author>
			<updated>2021-07-17T18:58:20Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=3196#p3196</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [Hyperbola GNU/Linux-libre 0.4] Problems with key-generation?]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=3195#p3195" />
			<content type="html"><![CDATA[<p>Hello guys. </p><p>I&#039;m fix with script <a href="https://git.hyperbola.info:50100/~team/packages/core.git/commit/?h=heckyel&amp;id=71c4f3aaaf0af5dc5633bea5f9c9f9a1484b491b">https://git.hyperbola.info:50100/~team/ … a1484b491b</a></p><p>set your pinentry interface:</p><div class="codebox"><pre><code>$ pinentry-default --curses</code></pre></div><p>Example:</p><div class="codebox"><pre><code>[ root | 2021-07-17 | 06:07PM ]
[/home] [0]
# pinentry-default --curses
&#039;/usr/bin/pinentry&#039; -&gt; &#039;pinentry-curses&#039;

[ root | 2021-07-17 | 06:08PM ]
[/home] [0]
# gpg --full-gen-key
gpg (GnuPG) 2.2.20; Copyright (C) 2020 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)
  (14) Existing key from card
Your selection? 
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (3072) 4096
Requested keysize is 4096 bits
Please specify how long the key should be valid.
         0 = key does not expire
      &lt;n&gt;  = key expires in n days
      &lt;n&gt;w = key expires in n weeks
      &lt;n&gt;m = key expires in n months
      &lt;n&gt;y = key expires in n years
Key is valid for? (0) 
Key does not expire at all
Is this correct? (y/N) y

GnuPG needs to construct a user ID to identify your key.

Real name: scorpionman
Email address: scorpionman@scorpionman.lol
Comment: 
You selected this USER-ID:
    &quot;scorpionman &lt;scorpionman@scorpionman.lol&gt;&quot;

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
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.
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.
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 65407F6E71039E0E marked as ultimately trusted
gpg: directory &#039;/root/.gnupg/openpgp-revocs.d&#039; created
gpg: revocation certificate stored as &#039;/root/.gnupg/openpgp-revocs.d/4948B0F54820A3C0392613F665407F6E71039E0E.rev&#039;
public and secret key created and signed.

pub   rsa4096 2021-07-17 [SC]
      4948B0F54820A3C0392613F665407F6E71039E0E
uid                      scorpionman &lt;scorpionman@scorpionman.lol&gt;
sub   rsa4096 2021-07-17 [E]</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Heckyel]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=67</uri>
			</author>
			<updated>2021-07-17T18:12:42Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=3195#p3195</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [Hyperbola GNU/Linux-libre 0.4] Problems with key-generation?]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=3193#p3193" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>$ gpg --full-gen-key
gpg (GnuPG) 2.2.20; Copyright (C) 2020 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)
  (14) Existing key from card
Your selection?
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (3072) 4096
Requested keysize is 4096 bits
Please specify how long the key should be valid.
         0 = key does not expire
      &lt;n&gt;  = key expires in n days
      &lt;n&gt;w = key expires in n weeks
      &lt;n&gt;m = key expires in n months
      &lt;n&gt;y = key expires in n years
Key is valid for? (0)
Key does not expire at all
Is this correct? (y/N) Y

GnuPG needs to construct a user ID to identify your key.

Real name: Test_1
Email address: test@example.com
Comment:
You selected this USER-ID:
    &quot;Test_1 &lt;test@example.com&gt;&quot;

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
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.
gpg: agent_genkey failed: No pinentry
Key generation failed: No pinentry
$</code></pre></div>]]></content>
			<author>
				<name><![CDATA[sagaracharya]]></name>
			</author>
			<updated>2021-07-17T03:22:06Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=3193#p3193</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[Hyperbola GNU/Linux-libre 0.4] Problems with key-generation?]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=3191#p3191" />
			<content type="html"><![CDATA[<p>So I have heard now messages about problems with generation of PGP-keys? To everybody having that problem: Please create a clear and detailed message with all the commands you have done and what errors occurred therefore. I&#039;m doing this now as a thread within respect for all the work done until now for 0.4. In case we would be onto stable for that I won&#039;t do that: Make an issue with your errors and your test-case, so the community can look onto that and all developers also have a clear plan how to reproduce the problem. Only than this can be solved.</p><p><strong>Please share your report here!</strong></p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2021-07-17T00:33:40Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=3191#p3191</id>
		</entry>
</feed>
