Commit Graph

3426 Commits

Author SHA1 Message Date
Fabio Erculiani e236d02e5c [entropy.client] properly handle GPG expired keys 2009-12-31 19:24:35 +01:00
Fabio Erculiani 7902b594aa [entropy.security] Repository: initial implementation of repository keys expiration support 2009-12-31 19:17:20 +01:00
Fabio Erculiani d87b4ee97e [entropy.security] fix __gen_key() 2009-12-31 18:49:07 +01:00
Fabio Erculiani d8cc786858 [entropy.client.interfaces.repository] small & initial refactoring of Repository class 2009-12-31 18:27:11 +01:00
Fabio Erculiani 86dbbdd94d [entropy.client.interfaces.fetch] small code style update & cleanup 2009-12-31 17:56:41 +01:00
Fabio Erculiani cd71128692 [entropy.client] make possible to completely disable GPG feature 2009-12-31 17:51:43 +01:00
Fabio Erculiani 951cb8f4db [entropy.client.interfaces.repository] first fetch all the stuff, then md5 check, then GPG check 2009-12-31 13:50:09 +01:00
Fabio Erculiani 7c0edc22ad [entropy.client.interfaces.repository] improve GPG repository files verification 2009-12-31 13:39:49 +01:00
Fabio Erculiani cb08a8c834 [entropy.server] create metafiles file just right before upload 2009-12-31 13:39:28 +01:00
Fabio Erculiani 62132d75b5 [entropy.server] only GPG sign required files 2009-12-31 11:51:59 +01:00
Fabio Erculiani 47b650bd5f [entropy.server] do not upload signature.asc twice 2009-12-31 11:42:08 +01:00
Fabio Erculiani bf3d165d4f [entropy.server] add missing function __write_gpg_pubkey() 2009-12-31 11:27:40 +01:00
Fabio Erculiani 483db3fb81 [entropy.server] also pack signature.asc inside packages.db.meta 2009-12-31 11:24:01 +01:00
Fabio Erculiani 54239387d3 [entropy.server] do not GPG sign every file in packages.db.meta but rather sign packages.db.meta directly 2009-12-31 11:09:18 +01:00
Fabio Erculiani 5654097e22 [entropy.server] GPG sign every file being uploaded 2009-12-31 11:05:39 +01:00
Fabio Erculiani 3f925d147b [entropy.client.interfaces.repository] warn user about how to change GPG keys trust level 2009-12-31 11:05:01 +01:00
Fabio Erculiani 4382de0216 [entropy.security] Repository: slightly change private methods API 2009-12-31 11:03:08 +01:00
Fabio Erculiani 5ea3c6bccb [entropy.spm] PortagePlugin: fix source /etc/profile cmd 2009-12-30 21:50:22 +01:00
Fabio Erculiani 780e741b5a [entropy.client] add GPG package signature verification when fetching packages, disable sha256 by default 2009-12-30 18:34:48 +01:00
Fabio Erculiani 1d3c292f13 [entropy.client.interfaces.repository] only catch GPGServiceNotAvailable when calling RepositorySecurity() 2009-12-30 18:33:55 +01:00
Fabio Erculiani 6b8501c056 [entropy.security] Repository: add --debug support 2009-12-30 18:33:13 +01:00
Fabio Erculiani 42b3951ba7 [entropy.client.interfaces.repository] improve Repository class
:: hide non-public methods (make them protected)
:: implement GPG verification for repository files
2009-12-30 16:07:28 +01:00
Fabio Erculiani 86225d4bef [entropy.db] add missing API docstrings 2009-12-30 16:07:28 +01:00
Fabio Erculiani 94ce9ca30b [entropy.security] Repository: change API of verify_file, also return error message 2009-12-30 16:07:28 +01:00
Fabio Erculiani 1eab5b086f [entropy.security/entropy.server] add GPG keys import/export feature 2009-12-29 21:55:07 +01:00
Fabio Erculiani 3b851f5e9e [entropy.security] Repository: update API, fix delete_keypair() 2009-12-29 21:33:04 +01:00
Fabio Erculiani ded7d45620 [entropy.client.interfaces.trigger] fix EntropyShSandbox.__get_sh_stage() 2009-12-29 20:22:41 +01:00
Fabio Erculiani 8046b29491 [entropy*] several updates, etpCache removal, code cleanup, API changes 2009-12-29 19:36:32 +01:00
Fabio Erculiani 7f0af8d874 [entropy.cache] code style update 2009-12-29 19:35:05 +01:00
Fabio Erculiani f2a4dda517 [entropy.server] also upload uncompressed public GPG signature file, if available 2009-12-28 21:32:22 +01:00
Fabio Erculiani eb6733d4a6 [unittest] security: use new keystore_dir argument 2009-12-28 17:21:30 +01:00
Fabio Erculiani 6d00bae889 [entropy.security] make Repository.__gen_key() working, fix gpg call 2009-12-28 17:20:28 +01:00
Fabio Erculiani 44a2428e9a [entropy.client] add support for auto-installing GPG keys when updating repositories 2009-12-28 17:10:05 +01:00
Fabio Erculiani bf07253bb5 [entropy.client] add RepositorySecurity interface loader method 2009-12-28 17:09:50 +01:00
Fabio Erculiani 6cf755ae3f [entropy.security] Repository: make possible to provide an alternate GPG home dir, and differentiate exceptions 2009-12-28 17:09:14 +01:00
Fabio Erculiani 25e9152204 [entropy.const] improve const_setup_perms, add extra arguments, add GPG const data 2009-12-28 17:08:39 +01:00
Fabio Erculiani 63c52f519b [entropy.server] remove created gpg signature, we don't want garbage around 2009-12-28 15:18:04 +01:00
Fabio Erculiani 3c4dbf723d [entropy.server] several updates, including complete GPG support
:: improve repository sync speed by moving as much as possible into
   compressed "meta" file
:: sign every package inside compressed "meta" file
2009-12-28 15:05:12 +01:00
Fabio Erculiani 047a46540d [entropy.server] directly use entropy.tools module 2009-12-28 15:04:59 +01:00
Fabio Erculiani f3fb4bec2e [entropy.security] Repository: when signing file, make sure to check against entropy.const's GPG file extension 2009-12-28 14:44:43 +01:00
Fabio Erculiani 1b3694d76a [entropy.const] add gnupg extension string to const 2009-12-28 14:43:58 +01:00
Fabio Erculiani 8fa37947f4 [entropy.client.interfaces.repository] try to move unpacked files using copy+remove 2009-12-28 14:25:24 +01:00
Fabio Erculiani 4e2fe82e20 [entropy.db] fix dependstable sql schema 2009-12-28 10:58:57 +01:00
Fabio Erculiani f9f3d4c729 [entropy.*] reorganize etpCache (remove/move stuff in respective classes) drop old vars from entropy.const 2009-12-28 07:58:19 +01:00
Fabio Erculiani 9158b0f19b [entropy.server] remove rssMetadata dict from Server class, add ServerRssMetadata class 2009-12-28 07:57:37 +01:00
Fabio Erculiani 7999810be6 [unittest] fix client test using text_smart 2009-12-28 07:55:22 +01:00
Fabio Erculiani d7e2c8027d [entropy.core] Singleton: support dict() type singleton 2009-12-28 07:54:52 +01:00
Fabio Erculiani 98ab888a34 [entropy.qa] rename test_depends_linking into test_reverse_dependencies_linking 2009-12-28 00:31:08 +01:00
Fabio Erculiani 03efb1383d [entropy.server] complete server-side implementation of GPG features 2009-12-28 00:18:19 +01:00
Fabio Erculiani acbe9e9726 [entropy.client.interfaces.package] commit installed packages repo data on every package removal 2009-12-27 22:26:57 +01:00