Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201673 - net-firewall/nufw: use install_cert in pkg_postinst
Summary: net-firewall/nufw: use install_cert in pkg_postinst
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Cédric Krier
URL:
Whiteboard:
Keywords: SECURITY
Depends on:
Blocks: 174759
  Show dependency tree
 
Reported: 2007-12-08 14:38 UTC by Robert Buchholz (RETIRED)
Modified: 2007-12-23 13:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Buchholz (RETIRED) gentoo-dev 2007-12-08 14:38:48 UTC
Installation of SSL certificates in src_install might expose the secret
keys when building binary packages (bug 174759).

Please update the package mentioned in this bug's title to use the new
"install_cert" function of ssl-cert.eclass, and use it only in
your pkg_postinst or pkg_config.

This bug is for keeping track of specific changes to your ebuilds
and stabling, general questions about this should be discussed in
bug 174759.

Our aim is to have fixed ebuilds in the tree by Dec. 23rd, otherwise
we will commit this minor change. Stabling should be done two weeks after the
commit, at last around Jan, 6th.
Comment 1 Ulrich Müller gentoo-dev 2007-12-23 11:15:54 UTC
> Our aim is to have fixed ebuilds in the tree by Dec. 23rd, otherwise
> we will commit this minor change.

Just a reminder; I would prefer if package maintainers fixed this for their packages. So I'll wait for another week before committing the change myself.
Comment 2 Cédric Krier gentoo-dev 2007-12-23 11:47:57 UTC
Fix in cvs
Comment 3 Ulrich Müller gentoo-dev 2007-12-23 12:29:41 UTC
(In reply to comment #2)
> Fix in cvs

Not really... The final goal is that we remove docert() from ssl-cert.eclass. So I guess it should be something like the following:

pkg_postinst() {
    install_cert /etc/nufw/{nufw,nuauth}
}

Reopening.
Comment 4 Cédric Krier gentoo-dev 2007-12-23 12:46:35 UTC
Fix again in cvs
Thanks
Comment 5 Ulrich Müller gentoo-dev 2007-12-23 13:04:01 UTC
> Fix again in cvs

Thank you.

@security: Package was never stable.