Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-01 | openpgp: Fix handling connection errors in WKD refresh | Michał Górny | |
Bug: https://bugs.gentoo.org/745771 Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-09-10 | test_openpgp: Fix race conditions in mocked system env cleanup | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
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: Handle non-utf8 UIDs gracefully | 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-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 | 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 | test_recursiveloader: Cache tmp_paths for read-only layouts | 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 | 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 | 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-28 | tests: Port test_verify to pytest | 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 | tests: Properly skip test_openpgp.py::test_cli when no gpg | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-26 | tests: Rewrite test_openpgp in pure pytest | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-25 | openpgp: Reimplement WKD support via requests | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-25 | openpgp: Introduce a helper method to get WKD URL | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-25 | Remove compatibility code for py<3.6 support | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-25 | tests: Add tests for unexpiring keys | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-25 | tests: Test for trivial cases of key forging | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-25 | tests: Add a test for subkey-signature | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-08-25 | tests: Store key data in split binary form | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-05-16 | openpgp: Default stdin='' in _spawn_gpg() | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2020-05-16 | openpgp: Pass 'gpg --batch' to _spawn_gpg() explicitly | Michał Górny | |
Signed-off-by: Michał Górny <mgorny@gentoo.org> | |||
2019-03-16 | tests: Fix MockedWKDOpenPGPEnvironment._spawn_gpg() return types | Michał Górny | |
2018-07-25 | tests: Add half-mocked tests for WKD-based refresh | Michał Górny | |
2018-07-25 | tests: Add tests for keyserver-based refreshing | Michał Górny | |
2018-03-13 | tests: Fix one more cross-fs test to test for mountpoint | Michał Górny | |