Commit Graph

3389 Commits

Author SHA1 Message Date
Fabio Erculiani e72dda3ec2 [entropy.services] (to be backported): improve speed of dbdiff command, add extra checksum metadatum 2010-01-02 09:40:00 +01:00
Fabio Erculiani 6d6f3f30b4 [entropy.db] (to be backported): add include_signatures argument to checksum() 2010-01-02 09:03:25 +01:00
Fabio Erculiani 5486a92b27 [entropy.db] pysqlite is dead, only check inside Python package 2010-01-02 08:53:08 +01:00
Fabio Erculiani b105af10fb [entropy.client.interfaces] fix GPG verification when GPG is not available 2010-01-02 08:19:34 +01:00
Fabio Erculiani a7651a843b [entropy.server] fix typo 2010-01-01 16:51:04 +01:00
Fabio Erculiani 5d42234783 [entropy.server] fix undefined variable "err" 2010-01-01 13:59:27 +01:00
Fabio Erculiani ed794fdaee [entropy.server] when moving packages from repo A to B, also re-GPG-sign package file 2010-01-01 13:53:17 +01:00
Fabio Erculiani bb3b622a93 [entropy.server] fix missing return 2010-01-01 13:51:00 +01:00
Fabio Erculiani 1a4894ced5 [entropy.db] trivial whitespaces cleanup 2010-01-01 10:13:30 +01:00
Fabio Erculiani 51951d1f3d [entropy.server] execute an extra repository metadata cleanup before packing up :-) 2010-01-01 10:12:49 +01:00
Fabio Erculiani f5d3b0ef2a [entropy.server] when moving/copying packages over repos, execute metadata cleanup at the end 2010-01-01 09:20:07 +01:00
Fabio Erculiani e8408387cd [entropy.client] fix some trivial typos 2010-01-01 00:25:44 +01:00
Fabio Erculiani e4535e3294 [entropy.server] handle Repository.KeyExpired exceptions 2009-12-31 23:56:35 +01:00
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