FS#56484 - [imap] creates ssl keys upon build
Attached to Project:
Arch Linux
Opened by Santiago Torres (sangy) - Monday, 27 November 2017, 18:45 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 29 November 2017, 14:51 GMT
Opened by Santiago Torres (sangy) - Monday, 27 November 2017, 18:45 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 29 November 2017, 14:51 GMT
|
Details
Description:
The current PKGBUILD for imap creates secret keys during the build phase[1]. This yields the package unreproducible[2]. The private keys could be deployed as part of an install hook (or manually genearted by the user after installation) to avoid this. Additional info: * 2007f-8 Steps to reproduce: Build the package [1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/imap#n42 [2] https://tests.reproducible-builds.org/archlinux/extra/imap/imap-2007f-8-x86_64.pkg.tar.xz.html |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Wednesday, 29 November 2017, 14:51 GMT
Reason for closing: Fixed
Additional comments about closing: imap 2007f-9
Wednesday, 29 November 2017, 14:51 GMT
Reason for closing: Fixed
Additional comments about closing: imap 2007f-9
(It should be generated in post_install and installed to /usr/share/ca-certificates/trust-source/anchors/ rather than being hidden in a swarm of extracted symlinks.)
Thanks for confirming the full impact of this.
openssl crl2pkcs7 -nocrl -certfile /etc/ssl/cert.pem | openssl pkcs7 -print_certs -text -noout | grep -i localhost
However the issue appears to have been present since the initial import in 2008 https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/imap&id=59ec9e013eb72ca2dec35dac4bb63e157574f5eb
Does the assumption hold for the previous systems to update-ca-trust?
Would there be any harm in passing the certificates from each published version to mozilla to be blacklisted should it is confirmed private keys were distributed?