Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] GPG isn't well configured
@ 2021-08-11 11:40 rivanfebrian123
  2021-08-11 12:58 ` sgn
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rivanfebrian123 @ 2021-08-11 11:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

New issue by rivanfebrian123 on void-packages repository

https://github.com/void-linux/void-packages/issues/32456

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  * Void 5.13.9_1 x86_64-musl GenuineIntel uptodate rrFFF

* package:  
  * gnupg2-2.2.29_1

### Expected behavior
It should be already configured by default

### Actual behavior
```
[rivanfebrian123@RVN Clusterify]$ git commit -S -m "first commit"
error: gpg failed to sign the data
fatal: failed to write commit object

[rivanfebrian123@RVN Clusterify]$ echo "test" | gpg2 --clearsign
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

test
gpg: signing failed: Not a tty
gpg: [stdin]: clear-sign failed: Not a tty
```

Rahul Thakur's answer (https://stackoverflow.com/a/61314861) should fix this problem

### Steps to reproduce the behavior
Do a first commit

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GPG isn't well configured
  2021-08-11 11:40 [ISSUE] GPG isn't well configured rivanfebrian123
@ 2021-08-11 12:58 ` sgn
  2021-08-11 13:46 ` rivanfebrian123
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2021-08-11 12:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/32456#issuecomment-896804511

Comment:
You may need to try a GUI `pinentry` likes `pinentry-gtk` `pinentry-gnome` `pinentry-qt` or `pinentry-dmenu` instead.

As of it's, working as intended, IMHO.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GPG isn't well configured
  2021-08-11 11:40 [ISSUE] GPG isn't well configured rivanfebrian123
  2021-08-11 12:58 ` sgn
@ 2021-08-11 13:46 ` rivanfebrian123
  2021-08-11 14:08 ` sgn
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rivanfebrian123 @ 2021-08-11 13:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

New comment by rivanfebrian123 on void-packages repository

https://github.com/void-linux/void-packages/issues/32456#issuecomment-896841453

Comment:
Thanks for your tips! I don't know much about `pinentry` stuffs, but it does work (check: https://stackoverflow.com/a/61314861).  I think the `gnupg2` package should require and configure `pinentry` by default

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ISSUE] [CLOSED] GPG isn't well configured
  2021-08-11 11:40 [ISSUE] GPG isn't well configured rivanfebrian123
                   ` (2 preceding siblings ...)
  2021-08-11 14:08 ` sgn
@ 2021-08-11 14:08 ` sgn
  2021-08-11 14:10 ` sgn
  2021-08-11 14:10 ` sgn
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2021-08-11 14:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]

Closed issue by rivanfebrian123 on void-packages repository

https://github.com/void-linux/void-packages/issues/32456

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  * Void 5.13.9_1 x86_64-musl GenuineIntel uptodate rrFFF

* package:  
  * gnupg2-2.2.29_1

### Expected behavior
It should be already configured by default

### Actual behavior
```
[rivanfebrian123@RVN Clusterify]$ git commit -S -m "first commit"
error: gpg failed to sign the data
fatal: failed to write commit object

[rivanfebrian123@RVN Clusterify]$ echo "test" | gpg2 --clearsign
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

test
gpg: signing failed: Not a tty
gpg: [stdin]: clear-sign failed: Not a tty
```

Rahul Thakur's answer (https://stackoverflow.com/a/61314861) should fix this problem

### Steps to reproduce the behavior
Do a first commit

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GPG isn't well configured
  2021-08-11 11:40 [ISSUE] GPG isn't well configured rivanfebrian123
  2021-08-11 12:58 ` sgn
  2021-08-11 13:46 ` rivanfebrian123
@ 2021-08-11 14:08 ` sgn
  2021-08-11 14:08 ` [ISSUE] [CLOSED] " sgn
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2021-08-11 14:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/32456#issuecomment-896859247

Comment:
Yes, I know about loopback, if you start a GUI session, you should use GUI pinentry or other GUI keyrings.

`pinentry-curses` will start in the same terminal you gui session was started, I also use pinentry-curses, but I know it cavet.

> Thanks for your tips! I don't know much about `pinentry` stuffs, but it does work (check: https://stackoverflow.com/a/61314861). I think the `gnupg2` package should require and configure `pinentry` by default

You can take it to gnupg's developer https://lists.gnupg.org/pipermail/gnupg-devel/2016-April/031012.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GPG isn't well configured
  2021-08-11 11:40 [ISSUE] GPG isn't well configured rivanfebrian123
                   ` (3 preceding siblings ...)
  2021-08-11 14:08 ` [ISSUE] [CLOSED] " sgn
@ 2021-08-11 14:10 ` sgn
  2021-08-11 14:10 ` sgn
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2021-08-11 14:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/32456#issuecomment-896860264

Comment:
And loopback is considered security risk upstream https://lists.gnupg.org/pipermail/gnupg-devel/2016-April/031016.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GPG isn't well configured
  2021-08-11 11:40 [ISSUE] GPG isn't well configured rivanfebrian123
                   ` (4 preceding siblings ...)
  2021-08-11 14:10 ` sgn
@ 2021-08-11 14:10 ` sgn
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2021-08-11 14:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/32456#issuecomment-896860264

Comment:
And loopback is considered security risk (if used carelessly) upstream https://lists.gnupg.org/pipermail/gnupg-devel/2016-April/031016.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-11 14:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 11:40 [ISSUE] GPG isn't well configured rivanfebrian123
2021-08-11 12:58 ` sgn
2021-08-11 13:46 ` rivanfebrian123
2021-08-11 14:08 ` sgn
2021-08-11 14:08 ` [ISSUE] [CLOSED] " sgn
2021-08-11 14:10 ` sgn
2021-08-11 14:10 ` sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).