Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-08 | test_recursiveloader: Attempt to fix misordered Manifest tests | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-08 | openpgp: Reduce unnecessary recoding in get_wkd_url() | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-08 | openpgp: Handle non-utf8 UIDs gracefully | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-08 | openpgp: Streamline GPG error handling, and handle malformed utf8 | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-08 | test_compression: Decode test string as ASCII | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-08 | openpgp: Fix bytes-to-str warnings by using !r (repr) | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-07 | test_openpgp: Fix ResourceWarning (cleaning up tmpdir) | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-06 | Add a partial experimental PGPy-based OpenPGP provider | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-06 | test_openpgp: Add more tests for importing key combos | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-06 | Bump to 16.0 | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-06 | openpgp: Move get_wkd_url() to global scope | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-06 | openpgp: Rename GPG-based environments to *GPGEnvironment | Michał Górny | |
Rename the GPG-based OpenPGP support implementations to SystemGPGEnvironment and IsolatedGPGEnvironment. OpenPGPEnvironment and OpenPGPSystemEnvironment remain as aliases to the currently preferred implementations. Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | Replace IOError/OSError whenever possible | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | Do not call signal.strsignal() when not available (py<3.8) | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | Add gpg-wrap command | Michał Górny | |
Closes: https://github.com/mgorny/gemato/issues/18 Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | openpgp: Verify key validity for signatures | Michał Górny | |
Require keys to have at least minimal validity for signature verification to be successful. Appropriately mark imported keys ultimately trusted/valid by default. Closes: https://github.com/mgorny/gemato/issues/17 Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | openpgp: Move listing keys to a separate method | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | test_openpgp: Test using UID with no e-mail address | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | Bump to 15.3 | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | test_recursiveloader: Cache tmp_paths for read-only layouts | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | compression: Fix compatibility with py<3.8 exceptions | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | tox.ini: Require pytest>=5 | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | Handle invalid compressed files when collecting Manifests | Michał Górny | |
Fix load_unregistered_manifests() not to crash on 'Manifest*' files that do not contain valid compressed data. Instead, treat them as unknown files, similarly how Manifests with invalid data are handled. Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | Fix wrongly determining uncompressed size | Michał Górny | |
Flush the file after writing to ensure that .buffer.tell() gives non-zero value. This fixes a number of cases of Manifests not being compressed. It also pointed out a major mistake in profile tests. Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | pytest: Enable strict XFAIL handling | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | Fix remaining PEP8 issues and extend PEP8 testing to tests | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | tests: Port test_recursiveloader to pytest | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-05 | tests: Mark module-scope test dirs read-only | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-31 | tests: Port test_profile to pytest | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-30 | profile: Put profile names inside the eclasses | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-30 | Bump to 15.2 | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-30 | Remove obsolete 'object' inheritance | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-30 | tests: Use module-scope fixtures whenever possible | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-30 | test_openpgp: Fix system env tests to respect GNUPG | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-29 | tests: Test OpenPGPSystemEnvironment as well | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-29 | Remove io.open() py2-ism | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-28 | Reformat gemato code and fix PEP8 compliance | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-28 | tests: Port test_verify to pytest | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-27 | Bump to 15.1 | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-27 | openpgp: Fix WKD→HKP fallback for missing requests | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-27 | tests: Convert test_util to pytest | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-27 | tests: Extend OpenPGP un-expiration tests | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-27 | tests: Convert test_manifest to pytest | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-27 | tests: Rewrite test_hash to pytest | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-27 | tests: Migrate test_find_top_level to pytest | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-27 | Import names directly, fix coding style issues | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-27 | Add tests for keys lacking signatures | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-27 | test_compression: fix unused imports | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-26 | tests: Convert test_compression to pytest | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-26 | tox.ini: Tests on crippled envs as well | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> |