<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2872: Produce reproducible pglx</title><link>https://sourceforge.net/p/keepass/feature-requests/2872/</link><description>Recent changes to 2872: Produce reproducible pglx</description><atom:link href="https://sourceforge.net/p/keepass/feature-requests/2872/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 06 Jul 2024 09:28:33 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/keepass/feature-requests/2872/feed.rss" rel="self" type="application/rss+xml"/><item><title>#2872 Produce reproducible pglx</title><link>https://sourceforge.net/p/keepass/feature-requests/2872/?limit=25#50af</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If your concern is to check whether the distributed plgx file wasn't altered in any way (maliciously) then you can try the "other" method (unpack the plgx file and compare the files against the source code repository).&lt;/p&gt;
&lt;p&gt;See this tool I've made.&lt;br/&gt;
&lt;a class="" href="https://github.com/cristianst85/PlgxUnpacker.NET" rel="nofollow"&gt;https://github.com/cristianst85/PlgxUnpacker.NET&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://sourceforge.net/p/keepass/discussion/329220/thread/0b62a014ff/"&gt;https://sourceforge.net/p/keepass/discussion/329220/thread/0b62a014ff/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cristian S.</dc:creator><pubDate>Sat, 06 Jul 2024 09:28:33 -0000</pubDate><guid>https://sourceforge.net8cc96c07504ddc7547aa0a9681b43e50cbc65716</guid></item><item><title>Produce reproducible pglx</title><link>https://sourceforge.net/p/keepass/feature-requests/2872/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In the effort to achieve reproducible builds &lt;a href="https://reproducible-builds.org" rel="nofollow"&gt;https://reproducible-builds.org&lt;/a&gt;, would you amend your code that generates the PGLX file so that it is repreoducible?&lt;/p&gt;
&lt;p&gt;I noticed 2 differences when the input is the same:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;there is a timestamp at the the beginning of the PGLX file. I could  identify this by comparing the hexdump. If I run twice keepass --plgx-create with the same input it will differ because of that timestamp. By using "faketime {my_timestamp} keepass --plgx-create " to set the timestamp that difference will get away.&lt;/li&gt;
&lt;li&gt;If I set the timestamp (eg with faketime), I still have a difference on the bytes before the timestamp (starting from byte 19)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Concerning the timestamp, if you still want to keep it, maybe could you consider reading the SOURCE_DATE_EPOCH environment variable. More information on that env. var here: &lt;a href="https://reproducible-builds.org/docs/source-date-epoch/" rel="nofollow"&gt;https://reproducible-builds.org/docs/source-date-epoch/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fab Stz</dc:creator><pubDate>Wed, 20 Mar 2024 18:24:40 -0000</pubDate><guid>https://sourceforge.netd9bd3cc6afac4ad332d4a67d47315baf2ad1c144</guid></item></channel></rss>