Modify ↓
Opened 12 years ago
Closed 12 years ago
#10678 closed defect (fixed)
Errors in source verification for 0.4 release
Reported by: | Ryan J Ollos | Owned by: | Steffen Hoffmann |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | packaging |
Cc: | Trac Release: |
Description
This appears to be related to [12399]:
[ryano-admin@...]$ sudo python ./contrib/signatures.py md5: "contrib/contrib/sessionstore_convert.py" missing md5: "contrib/contrib/signatures.py" missing md5: "contrib/contrib/style.css" missing sha1: "contrib/contrib/sessionstore_convert.py" missing sha1: "contrib/contrib/signatures.py" missing sha1: "contrib/contrib/style.css" missing sha1: "acct_mgr-sha1sums.sig" unknown (added) md5: "acct_mgr-sha1sums.sig" unknown (added) sha1: "acct_mgr-md5sums.sig" unknown (added) md5: "acct_mgr-md5sums.sig" unknown (added)
I don't know enough about hash generation and verification to know exactly how to fix this, but if I delete the entries with a leading path of contrib/contrib
, then I get:
[ryano-admin@...]$ sudo python ./contrib/signatures.py sha1: "acct_mgr-sha1sums.sig" unknown (added) md5: "acct_mgr-sha1sums.sig" unknown (added) sha1: "acct_mgr-md5sums.sig" unknown (added) md5: "acct_mgr-md5sums.sig" unknown (added) Check passed.
-
acct_mgr-md5sums
14 14 e73ff08eb165e3e316f9a9087a050ff8 acct_mgr/templates/account_details.html 15 15 579ba581f37a51b07e6c73eb7910537f acct_mgr/http.py 16 16 1ef2d05ca97716b0d1b2cc520f1ea6dc acct_mgr/locale/sv/LC_MESSAGES/acct_mgr.po 17 7c15faa40a56b626d3800d5eb499fea3 contrib/contrib/sessionstore_convert.py18 17 62ac60600ca08175f64450aaf28717cc acct_mgr/locale/et/LC_MESSAGES/acct_mgr.po 19 92f35922aa6e3e5f1d4c632ed2379620 contrib/contrib/signatures.py20 18 f75e73cf85af94a2d290217002f24cbe acct_mgr/guard.py 21 19 5e3aaebeb37a3f5ccf2936d9b0220d8a acct_mgr/locale/te/LC_MESSAGES/acct_mgr.po 22 20 c2dc4a888edb9245452464358fb58696 acct_mgr/locale/id_ID/LC_MESSAGES/acct_mgr.po … … 32 30 ba86b97ac7b4e5d5d820ce795806a543 acct_mgr/locale/zh_CN/LC_MESSAGES/acct_mgr.po 33 31 e7bdb13c2101e46ce5267225171f7ac5 setup.py 34 32 7c15faa40a56b626d3800d5eb499fea3 contrib/sessionstore_convert.py 35 80d33a38a41a4c55dd6c1bdfcba0139f contrib/contrib/style.css36 33 2eb19a946c81096e427f8985d8e9b449 acct_mgr/locale/it/LC_MESSAGES/acct_mgr.po 37 34 7be32664b8f9016041c29d11e483ae64 acct_mgr/templates/prefs_account.html 38 35 80d33a38a41a4c55dd6c1bdfcba0139f contrib/style.css -
acct_mgr-sha1sums
}}}} {{{ #!patch
14 14 8731757c4dceafce0971f2472ef7696c91e17db6 acct_mgr/templates/account_details.html 15 15 82a7cccd7313f4c9acbfe375347552a3dbb60463 acct_mgr/http.py 16 16 dda4380b9195a68ad13463bddf7c1e0a2e8c158f acct_mgr/locale/sv/LC_MESSAGES/acct_mgr.po 17 264d930c5893f6d8d04d14b797a570ecbda1ccd9 contrib/contrib/sessionstore_convert.py18 17 f14c34993658aa8ea7cf81a553972fe336ed0db8 acct_mgr/locale/et/LC_MESSAGES/acct_mgr.po 19 3e341c9caa8568be919716606c490f262aa0b591 contrib/contrib/signatures.py20 18 8d02462b00ff89b2f783ba9c384666cb670e69ac acct_mgr/guard.py 21 19 381f8192f665863a5a5f4305d808f4b0c2a3ebef acct_mgr/locale/te/LC_MESSAGES/acct_mgr.po 22 20 daededb8cb96a042a4a7d3dd4c8b426540705d8a acct_mgr/locale/id_ID/LC_MESSAGES/acct_mgr.po … … 32 30 6c439fce7e9b048994b4ee905d95d106fca66ed0 acct_mgr/locale/zh_CN/LC_MESSAGES/acct_mgr.po 33 31 6a53fda554fcc9b82b742c050053e75da4bd5dad setup.py 34 32 264d930c5893f6d8d04d14b797a570ecbda1ccd9 contrib/sessionstore_convert.py 35 57a21d4e1a5675859968ab20de64c91f0aaa8b88 contrib/contrib/style.css36 33 7b1b37e1bc047dfea261fdad2300aa59b8db6785 acct_mgr/locale/it/LC_MESSAGES/acct_mgr.po 37 34 959be704a76dfc6ff8780cca79d9cbb797871d58 acct_mgr/templates/prefs_account.html 38 35 57a21d4e1a5675859968ab20de64c91f0aaa8b88 contrib/style.css
Attachments (0)
Change History (2)
comment:1 Changed 12 years ago by
Keywords: | packaging added |
---|
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [12406]) AccountManagerPlugin: Complementary clean-up for [12399], closes #10678.
Updating contrib\signature.py
in trunk
to release version as well.
Note: See
TracTickets for help on using
tickets.
Replying to rjollos:
Very good, thanks for noticing. It has slipped through.
That's expected. The OpenPGP signatures can't be included in checksum files, because they're created after their creation. It's a recursion issue, that can't be solved another way, because you'll never know the correct hash for the signature file before actually signing the checksum file.