GNU Privacy Assistant

  • Done
  • quality assurance status badge
Details
3 participants
  • Efraim Flashner
  • Marius Bakke
  • Raghav Gururajan
Owner
unassigned
Submitted by
Raghav Gururajan
Severity
serious
R
R
Raghav Gururajan wrote on 6 Jun 2019 00:18
(address . bug-guix@gnu.org)
ffcb04ff5171de849bdd45736c362d89c75a843f.camel@disroot.org
Hello Guix!

GPA gives out the following errors upon opening the app.

**START**

First:

The GPGME library returned an unexpected
error at confdialog.c:1459. The error was:

Unsupported protocol

This is either an installation problem or a bug in GPA.
GPA will now try to recover from this error.
Second:

Fatal Error in GPGME library
(invoked from file options.c, line 302):

Unsupported protocol

The application will be terminated.

**END**

It appears that GPA will be non-usable until the bug is fixed. ?

Regards,
RG.
R
R
Raghav Gururajan wrote on 2 Jul 2019 20:44
severity 36109 serious
(address . control@debbugs.gnu.org)
675993d1669c72948c29adc34faa7b3e08a4016a.camel@disroot.org
severity 36109 serious
E
E
Efraim Flashner wrote on 10 Jul 2019 10:09
Re: bug#36109: GNU Privacy Assistant
(name . Raghav Gururajan)(address . rvgn@disroot.org)(address . 36109@debbugs.gnu.org)
20190710080919.GB1014@macbook41
I've bumped the version to 0.10.0. Can you give it a try and see if
it's still a problem?

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl0lnS4ACgkQQarn3Mo9
g1F/Lw//T6CJ/XUDpoZNz3aqg5qkxFldnhJN0eu30Uj+d4Ogt7AxdTm+JhR95bo0
fOyn4IXqby8bEvr+OIV6vGcupxVjJOOIjXc6lVVFlVsm712v651YlT8sOw9QHF0h
9wXC2GHIeOZhCMx3N87uAQL3vJHPMgFhP9ITEuZJAUQ5f1pHwlzfxj+y04iPx+OR
kPqDZdGI8N78y8D2WgOUAroCdOTi8XhSQItUCCvhccXomfe+q8eocipEPejr6utr
uF1dYuSUKw/qyWg635PSDJrHGk4WnrB8wvllgipuFoJzkayVEHvoc+3+CHLeJf0w
K2YrveD0sv3PwpsAOl/IsryWNRtU13rCODk4/Gt+o6uvPksBAKoQeJsDQRJuR2PM
6pBY7HaX+JJbj3B8UeiQqS6wCbnqxqRjDMSzCdvWaKD9pV3/KvaeYOszW0ZpZkzn
6bDtq9CKZnivjiEQLJY9sx8wGTOjBrWf7u/TR3jUlBbUAbgoF+XLRu4pDEEZRlK+
s46jsi9IkknDSmZJwssvYtUE2fLTp0hsCddEPqG0IhTlZxThymX4hwVokcHUwVgl
lmDdHcScPJV0x9Yo/0LTQnL8BmmN49Jt94N9YWLBPiGLDhu+tj3n0QRFvtY3b0Yr
ydAdPxorzhmG9OtrDnJikkojXMjm/Ouk7BWxd6tTJtLMPnG1kmo=
=hMZR
-----END PGP SIGNATURE-----


R
R
Raghav Gururajan wrote on 10 Jul 2019 19:49
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 36109@debbugs.gnu.org)
01ed061ace800e72ed934c335642629af5464543.camel@disroot.org
Toggle quote (4 lines)
> Error verifying signature: Failed to execute gpg.
> I've bumped the version to 0.10.0. Can you give it a try and see if
> it's still a problem?

Thanks for updating. Unfortunately, it is showing the same errors. ?

Regards,
RG.
R
R
Raghav Gururajan wrote on 18 Jul 2019 05:14
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 36109@debbugs.gnu.org)
fbf4bf5112b2ca0367a6537c538b50bc79dc1b45.camel@disroot.org
Apart from the errors showed on the GUI, running gpa via terminal shows
following additional error messages:

** Message: 23:11:17.193: tool to start the agent is not available
** Message: 23:11:20.515: error connecting an UI server: Invalid value
passed to IPC - assuming not running

Regards,
RG.
E
E
Efraim Flashner wrote on 18 Jul 2019 10:43
(name . Raghav Gururajan)(address . rvgn@disroot.org)(address . 36109@debbugs.gnu.org)
20190718084330.GA684@macbook41
On Wed, Jul 17, 2019 at 11:14:07PM -0400, Raghav Gururajan wrote:
Toggle quote (7 lines)
> Apart from the errors showed on the GUI, running gpa via terminal shows
> following additional error messages:
>
> ** Message: 23:11:17.193: tool to start the agent is not available
> ** Message: 23:11:20.515: error connecting an UI server: Invalid value
> passed to IPC - assuming not running
>
I tried running: './pre-inst-env guix environment --pure --ad-hoc gpa -- gpa'

console message of:
** Message: 11:38:44.814: tool to start the agent is not available

pop-up message of:
The GPGME library returned an unexpected
error at confdialog.c:1472. The error was:

Unsupported protocol

This is either an installation problem or a bug in GPA.
GPA will now try to recover from this error.

This was followed by another message:
Fatal Error in GPGME library
(invoked from file options.c, line 302):

Unsupported protocol

The application will be terminated

and from the console:
** Message: 11:40:37.432: error connecting an UI server: Invalid value passed to IPC - assuming not running

and then it exited on me.

so it looks like it might be missing something, but if GPA or GMGME is
missing something remains to be seen.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl0wMS8ACgkQQarn3Mo9
g1EZ+g//XXWyQ8xOXZhXbOAQuXXU1RP/RvKwyLJurulNT9/ziDbvcBtfJ2XzTchs
0/ypp+Zy732CqwwVDKj7n8ttHEhw2TOhKV3OdIMDFw0Cz6mFh9XYAuOltu5amUva
tNv+5Zs50W6FxQxmLkMWV986ou2JJnveGk+YOfg9bh9MD61sdgmh49C3IeEBAmpa
vrd2Po3nGMqMEOA9RTFMYEXHWAch/wC/N51LTwyGFpPB9hLxYmfjdUFTWqq3Egkm
3/SEMKxeN4bBXU9CSacmOqYeF2Epkaz+0dVPcgZ+i8fo3ymDcGv8C2VlOrlPPfbC
bWbAHLKhzpDHsiHqd0HI7jpDYa+S0n3+tUcMUtmiIVyW+sv/T0hRvAoQ+iJZl4wd
80Em6RxvgC2zIvXVxdic9GPjbJjY1qqxqqVIOM/wZTKOAStXCthQYtTEsbMumIFZ
VsEc2pcU+Fn6b9Txq7IcqHZiD2E1auBv2eAITpVRptfC6Bn6v9zhILm4PtegMT9Y
Hsi8qV4xZNnRD9OGvcb+3ljww6L+92A59rpkSEMJ/b38hGemu68OpxneoXxdA7Ec
n6MgWkQZwWgtBMP4vQRR0cTaFQblbp4xB24Oh//DYjCBqs3DhrYVgQEjELvKrm5x
CPzL5wS9xDXotT7peAJ4Z3HiUwcOwo/dhIO1+1tW8uwww4dVTSQ=
=bduX
-----END PGP SIGNATURE-----


E
E
Efraim Flashner wrote on 18 Jul 2019 11:51
(name . Raghav Gururajan)(address . rvgn@disroot.org)(address . 36109@debbugs.gnu.org)
20190718095128.GB684@macbook41
On Thu, Jul 18, 2019 at 11:43:30AM +0300, Efraim Flashner wrote:
Toggle quote (39 lines)
> On Wed, Jul 17, 2019 at 11:14:07PM -0400, Raghav Gururajan wrote:
> > Apart from the errors showed on the GUI, running gpa via terminal shows
> > following additional error messages:
> >
> > ** Message: 23:11:17.193: tool to start the agent is not available
> > ** Message: 23:11:20.515: error connecting an UI server: Invalid value
> > passed to IPC - assuming not running
> >
> I tried running: './pre-inst-env guix environment --pure --ad-hoc gpa -- gpa'
>
> console message of:
> ** Message: 11:38:44.814: tool to start the agent is not available
>
> pop-up message of:
> The GPGME library returned an unexpected
> error at confdialog.c:1472. The error was:
>
> Unsupported protocol
>
> This is either an installation problem or a bug in GPA.
> GPA will now try to recover from this error.
>
> This was followed by another message:
> Fatal Error in GPGME library
> (invoked from file options.c, line 302):
>
> Unsupported protocol
>
> The application will be terminated
>
> and from the console:
> ** Message: 11:40:37.432: error connecting an UI server: Invalid value passed to IPC - assuming not running
>
> and then it exited on me.
>
> so it looks like it might be missing something, but if GPA or GMGME is
> missing something remains to be seen.
>

The two lines referenced above reference gpgme, and
'guix gc -R $(guix build gpa) | grep gpgme' does show that gpa does
reference gpgme. However, 'guix gc -R $(guix build gpa) | grep gnupg'
doesn't show anything, so it seems that this might be where the problem
is.
'./pre-inst-env guix environment --pure --ad-hoc gnupg gpa -- gpa' does
allow gpa to start without any errors.


While persuing this bug I noticed that gpa looks for gpg2keys_ldap,
which may have been depreciated in favor of dirmngr_ldap. I don't
(knowingly) fetch keys over ldap so I don't know if the fix I made
actually does anything. With it 'guix gc -R ...' does reference gnupg,
but it doesn't on its own cause the program to suddenly work without
having gnupg explicitly installed.

It seems that many distros separate the dirmngr binary which is required
for GPA to work from the gnupg binary, but if that's the case then it
should still find dirmngr with my patch and work for some things


On the other hand 'guix gc -R $(guix build gpgme) | grep gnupg' doesn't
yield any results, so there could be a problem there too.


--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl0wQRwACgkQQarn3Mo9
g1GaQQ/+NvkdPwm7z2Q49yPiua70SmjdQsAI9hJxKLhtodwpnmUQbKvtg68IHmv7
zRf8Dhk+nOtN4hIS9a7Evrp6J9MJN7xXRXtpx0BDQ7UypNDMDTNFiGJkRwNzKV2d
tPSzKLKj9B+S6fCBOlpYG3b9xDTkR9IiW1qhSF4IP5XvXPXTRO3xW1Fl4C1qlXh+
ncnlpME/mX7s1xCG7qmQKzltah12kjPfUsqdbnAI2EvZFXG6pgg1haZ3RfMKrNhX
npaFGfv5btJutx2pLPFPJ/l21vLdtOk7d7fkBpRVF1CsvEvS/dzROatpVWkUdPPG
T8socWoqs3CytnImetxRii5W1D9AVGYPyyu7kmL1e3BG6Y87HPn7rP0HYCxvPz2I
J11WoA+RGXq6GsERHe/RHDpFYAmrSk0ygZ0aE1mB/aGye2FOxdehXlC3JBkLAYKA
uw1DWMcK862O30V4b0OmfwTBmAbMW4vQRRc6nMXoArCmd7L3vsWxfGdanbfgL/W/
Q0SzDdQrHxJwCn1McEuiGSjo+exahBDYSDLSiDWBCRlIbhHPiEnYkduJjtHPMV5v
Bf/q3QfnpSSFpk7O91U9ltQj3QoItR16UGTC4XCzguLnsWS8I2j/JkQClGWFTyNg
RVss+bGMr9q/PwEd5I9bAb++dssQFRlU58aB2wPdoZFEC1wX/n8=
=vGpn
-----END PGP SIGNATURE-----


R
R
Raghav Gururajan wrote on 18 Jul 2019 23:39
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 36109@debbugs.gnu.org)
33efad0589322066fb5b4c5553c391f61dcf56e1.camel@disroot.org
Efraim. thank you for working on this. I will guix pull and update gpa
to check whether your recent patch works.

Regards,
RG.
R
R
Raghav Gururajan wrote on 19 Jul 2019 05:47
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 36109@debbugs.gnu.org)
9e3f33dd463100dd31c5b75fdaf3ed5a47dfeafd.camel@disroot.org
I tried and checked after updating gpa. I get the same errors.
M
M
Marius Bakke wrote on 19 Mar 2020 10:51
Re: [bug#40129] [PATCH] gnu: gpa: Add phase wrap-program.
(address . 36109-done@debbugs.gnu.org)
874kukbrli.fsf@devup.no
Brice Waegeneire <brice@waegenei.re> writes:

Toggle quote (4 lines)
>
> * gnu/packages/gnupg.scm (gpa)[arguments]: Add phase wrap-program.

Applied, thanks!

[...]

Toggle quote (8 lines)
> + (add-after 'install 'wrap-program
> + (lambda* (#:key inputs outputs #:allow-other-keys)
> + (let ((out (assoc-ref outputs "out"))
> + (gnupg (assoc-ref inputs "gnupg")))
> + (wrap-program (string-append out "/bin/gpa")
> + `("PATH" ":" prefix (,(string-append gnupg "/bin")))
> + )))))))

I ended this phase on a #t and fixed the lonely parens as reported by
'guix lint gpa'.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5zQIkACgkQoqBt8qM6
VPpXmAf/a0cdKxeN92K1yFhfKt8McRC5gXaGYnq1rT/aUlH08VWEBzRnV0xY3soC
96AezUYlnHI5jBmLS8jPUzVw+lyaYP9qtlG/CvQiu/aScn+WgUSZgdzAKLegGrY0
azQi9T6IzoNZLcfzIXPlmH3pQ8CO1ZDXzAhywIg7sY678LRk6BRbCfuS6Mxv3XBE
U/0xxHwZGtepoO/HnLCo4kSFcbPaTwWpyqTtHDQc3SsgWB8mihKaLhRG+g8PGb0c
ALoO7c/YbRJuM4KvRYoa6nyZxvdMnVsvqwvUEH3SoTvNa3xvLlMfLhGmFjoykKCy
RVphei7C7Aw/BM9mzkZFtyBinTNxfQ==
=oOn0
-----END PGP SIGNATURE-----

Closed
?