* bug#38491: Evolution is missing GPG
@ 2019-12-04 12:11 Leo Prikler
2019-12-05 16:53 ` Jesse Gibbons
0 siblings, 1 reply; 4+ messages in thread
From: Leo Prikler @ 2019-12-04 12:11 UTC (permalink / raw)
To: 38491
Hi Guix,
I recently discovered, that Evolution would complain about a missing
GPG whenever it encounters a signed message. For the record, I've only
installed evolution-data-server in the operating-system and evolution
itself inside my user profile and not installed gpg in either place,
thus causing this issue. Would it make sense to make gpg an input to
evolution and hardcode the path in the source? Or would it perhaps be
better to have it as propagated input? WDYT?
Regards,
Leo
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#38491: Evolution is missing GPG
2019-12-04 12:11 bug#38491: Evolution is missing GPG Leo Prikler
@ 2019-12-05 16:53 ` Jesse Gibbons
2019-12-05 17:51 ` Leo Prikler
0 siblings, 1 reply; 4+ messages in thread
From: Jesse Gibbons @ 2019-12-05 16:53 UTC (permalink / raw)
To: Leo Prikler, 38491
On Wed, 2019-12-04 at 13:11 +0100, Leo Prikler wrote:
> Hi Guix,
>
> I recently discovered, that Evolution would complain about a missing
> GPG whenever it encounters a signed message. For the record, I've only
> installed evolution-data-server in the operating-system and evolution
> itself inside my user profile and not installed gpg in either place,
> thus causing this issue. Would it make sense to make gpg an input to
> evolution and hardcode the path in the source? Or would it perhaps be
> better to have it as propagated input? WDYT?
>
> Regards,
> Leo
>
>
>
>
Guix complains that it cannot find gpg when I call "guix import gnu
<package>". But unless I'm using a function of guix that depends on gpg,
guix is not broken, so gpg is not an input or propagated input of guix. I
think we have the same situation here. Evolution is functional without GPG,
and handles itself fairly well when gpg is not found.
Try installing gpg locally and see if it stops complaining. If so, we have a
solution. If not, we should consider adding GPG as a propagated input to
Evolution.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#38491: Evolution is missing GPG
2019-12-05 16:53 ` Jesse Gibbons
@ 2019-12-05 17:51 ` Leo Prikler
2019-12-07 16:45 ` Jesse Gibbons
0 siblings, 1 reply; 4+ messages in thread
From: Leo Prikler @ 2019-12-05 17:51 UTC (permalink / raw)
To: Jesse Gibbons, 38491
Am Donnerstag, den 05.12.2019, 09:53 -0700 schrieb Jesse Gibbons:
> On Wed, 2019-12-04 at 13:11 +0100, Leo Prikler wrote:
> > Hi Guix,
> >
> > I recently discovered, that Evolution would complain about a
> > missing
> > GPG whenever it encounters a signed message. For the record, I've
> > only
> > installed evolution-data-server in the operating-system and
> > evolution
> > itself inside my user profile and not installed gpg in either
> > place,
> > thus causing this issue. Would it make sense to make gpg an input
> > to
> > evolution and hardcode the path in the source? Or would it perhaps
> > be
> > better to have it as propagated input? WDYT?
> >
> > Regards,
> > Leo
> >
> >
> >
> >
> Guix complains that it cannot find gpg when I call "guix import gnu
> <package>". But unless I'm using a function of guix that depends on
> gpg,
> guix is not broken, so gpg is not an input or propagated input of
> guix. I
> think we have the same situation here. Evolution is functional
> without GPG,
> and handles itself fairly well when gpg is not found.
>
> Try installing gpg locally and see if it stops complaining. If so, we
> have a
> solution. If not, we should consider adding GPG as a propagated input
> to
> Evolution.
That does fix the problem itself, but I personally believe there should
be a better way of handling "optional" inputs -- "optional" because in
at least some if not many cases, people would expect them to exist.
Guix' emacs has imagemagick as input for instance (even though it is
optional) and a separate emacs-minimal exists as the version without it
and other optional inputs. I think this pattern could be applied more
broadly.
Regards,
Leo
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#38491: Evolution is missing GPG
2019-12-05 17:51 ` Leo Prikler
@ 2019-12-07 16:45 ` Jesse Gibbons
0 siblings, 0 replies; 4+ messages in thread
From: Jesse Gibbons @ 2019-12-07 16:45 UTC (permalink / raw)
To: Leo Prikler, 38491
On Thu, 2019-12-05 at 18:51 +0100, Leo Prikler wrote:
> Am Donnerstag, den 05.12.2019, 09:53 -0700 schrieb Jesse Gibbons:
> > On Wed, 2019-12-04 at 13:11 +0100, Leo Prikler wrote:
> > > Hi Guix,
> > >
> > > I recently discovered, that Evolution would complain about a
> > > missing
> > > GPG whenever it encounters a signed message. For the record, I've
> > > only
> > > installed evolution-data-server in the operating-system and
> > > evolution
> > > itself inside my user profile and not installed gpg in either
> > > place,
> > > thus causing this issue. Would it make sense to make gpg an input
> > > to
> > > evolution and hardcode the path in the source? Or would it perhaps
> > > be
> > > better to have it as propagated input? WDYT?
> > >
> > > Regards,
> > > Leo
> > >
> > >
> > >
> > >
> > Guix complains that it cannot find gpg when I call "guix import gnu
> > <package>". But unless I'm using a function of guix that depends on
> > gpg,
> > guix is not broken, so gpg is not an input or propagated input of
> > guix. I
> > think we have the same situation here. Evolution is functional
> > without GPG,
> > and handles itself fairly well when gpg is not found.
> >
> > Try installing gpg locally and see if it stops complaining. If so, we
> > have a
> > solution. If not, we should consider adding GPG as a propagated input
> > to
> > Evolution.
> That does fix the problem itself, but I personally believe there should
> be a better way of handling "optional" inputs -- "optional" because in
> at least some if not many cases, people would expect them to exist.
> Guix' emacs has imagemagick as input for instance (even though it is
> optional) and a separate emacs-minimal exists as the version without it
> and other optional inputs. I think this pattern could be applied more
> broadly.
>
> Regards,
> Leo
>
There are a lot of optional inputs to packages with minimal versions like
git and emacs, and a lot of them are used by guix itself for bootstrapping
and building other packages.
I see my logic was faulty. Some of the packages I contriubted list optional
inputs, and the people who committed them added comments saying we should
plan on packaging those optional inputs and adding them as inputs. Perhaps
your first suggestion, being to add gpg as an input or propagated input to
evolution, is indeed the best solution.
This brings us back to the original question, which approach is better? I am
not familiar enough with guix security features to make a proper conclusion,
but I can try anyway. I think adding gpg as a propagated input to evolution
is better because it garuntees evolution will use the most recent version of
gpg when gpg is updated. However, if a user uses gpg not exclusively for
evolution, but gets it by installing evolution, then when evolution is
removed the user will lose gnupg. Though that would be mostly the user's
problem, propagating inputs is a side-effect. On the other hand, if gnupg is
an input, when gnupg is updated and rebuilt, evolution must be rebuilt. I do
not know how guix determines if grafts should be applied, so I do not know
if grafting will prevent this issue.
I would like to see what the guix maintainers think before I make a patch,
but there's nothing stopping you from making such a simple patch and sending
it to this bug thread.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-12-08 3:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-04 12:11 bug#38491: Evolution is missing GPG Leo Prikler
2019-12-05 16:53 ` Jesse Gibbons
2019-12-05 17:51 ` Leo Prikler
2019-12-07 16:45 ` Jesse Gibbons
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.