Commit Graph

9601 Commits

Author SHA1 Message Date
Fabio Erculiani f2d92793d0 [entropy.security] Repository.is_pubkey_available: catch GPGError exceptions 2010-09-03 23:49:46 +02:00
Fabio Erculiani c5cfeec3cd Revert "[entropy.db] if EntropyRepository caching is disable, do not use live cache at all"
This reverts commit ef586a5ae5.
2010-09-02 20:13:23 +02:00
Fabio Erculiani ef586a5ae5 [entropy.db] if EntropyRepository caching is disable, do not use live cache at all 2010-09-02 19:09:37 +02:00
Fabio Erculiani 146f127740 [entropy.db] ensure that removePackage keeps live cache clean 2010-09-02 19:06:09 +02:00
Fabio Erculiani 5183a77dea [entropy.server] when adding packages, commit EntropyRepository changes to disk as soon as possible 2010-09-02 19:04:48 +02:00
Fabio Erculiani f184c8d779 [entropy.spm] PortagePlugin: fix world file handling, typo in function 2010-09-02 16:45:53 +02:00
Fabio Erculiani fef265dab3 [entropy.server] really make sure that db data is flushed to disk during Server._package_injector 2010-08-31 17:41:51 +02:00
Fabio Erculiani 3888fff5eb [todo] update TODO 2010-08-31 15:57:54 +02:00
Fabio Erculiani 4575a792ef [entropy.server] improve reliability of Server._setup_repository_package_filename
Providing the EntropyRepository instance currently in use is much
better than opening a new one.
2010-08-31 15:22:54 +02:00
Fabio Erculiani 5cb8e11810 [todo] update TODO 2010-08-30 23:10:21 +02:00
Fabio Erculiani 8ad0650dac [entropy.qa] add extra (ldd based) unresolved soname QA check
Using ldd to check if an executable has automagic dependencies
server-side, under controlled circumstances (such as checking against
the files provided by the package it belongs) is a good (not best)
way to make sure there are no breakages visible to user.
Unfortunately, these kind of missing dependencies have to be checked
and verified manually, besides, it's a good thing to have them
reported.
2010-08-30 23:06:02 +02:00
Fabio Erculiani 14bcfbf0ce [entropy.tools] read_elf_real_dynamic_libraries: some final fixes 2010-08-30 23:05:12 +02:00
Fabio Erculiani b6ca4ed514 [entropy.tools] read_elf_real_dynamic_libraries filter out bogus lines 2010-08-30 21:52:10 +02:00
Fabio Erculiani 6702f7a332 [entropy.tools] some minor fixups to read_elf_dynamic_libraries and resolve_dynamic_library 2010-08-30 21:49:07 +02:00
Fabio Erculiani 0acc74ac62 [entropy.tools] add read_elf_real_dynamic_libraries function 2010-08-30 20:33:09 +02:00
Fabio Erculiani 825d9bd02d [entropy.tools] read_elf_broken_symbols: quote elf_file passed to getstatusoutput 2010-08-30 17:59:14 +02:00
Fabio Erculiani 2c157bc6c5 [entropy.tools] read_elf_dynamic_libraries no need to consider another ROOT= 2010-08-30 16:06:41 +02:00
Fabio Erculiani 2f93f2a214 [entropy.tools] read_elf_broken_symbols: no need to consider another ROOT= 2010-08-30 16:06:08 +02:00
Fabio Erculiani 778fa6c23e [tests] test "content safety" metadata 2010-08-30 12:50:26 +02:00
Fabio Erculiani 21413531fa [entropy.server,entropy.client] complete "content safety" feature support 2010-08-30 12:49:33 +02:00
Fabio Erculiani 80fff1ed39 [entropy.services.interfaces] SocketHost: separate non-SSL and SSL log files 2010-08-29 12:20:11 +02:00
Fabio Erculiani 5d860aa17d [entropy.services.interfaces] improve ssl handling code, make some variables protected 2010-08-29 12:15:08 +02:00
Fabio Erculiani dce7a38c69 [entropy.misc] LogFile: remove loggers cache, does more harm than good 2010-08-29 09:49:05 +02:00
Fabio Erculiani 720e2ed55a [todo] update TODO 2010-08-29 08:46:01 +02:00
Fabio Erculiani 70ade04ff6 [entropy.services.interfaces] fix typo in session's stream_stat item 2010-08-28 18:43:39 +02:00
Fabio Erculiani 13b897cbc8 [todo] update TODO 2010-08-28 17:19:18 +02:00
Fabio Erculiani 821d810aa3 [entropy.db/entropy.spm] introduce content safety metadata collection (sha256, mtime)
The following changes add more security features to Entropy repository
files. Every package will have new security metadata associated, like
sha256 and mtime of package files. Once all packages will contain
such information, the feature can be used, for example, to determine
if a system has been compromised by changing critical executables.
This is not a replacement for rootkit tools such as rkhunter or chkrootkit,
but instead, the base support for their file checking mechanism.

Entropy Client support (equo, mainly) is planned in the near future.
2010-08-28 17:07:15 +02:00
Fabio Erculiani a6da16e9f0 [entropy.spm] PortagePlugin: properly calculate package size even when package is injected 2010-08-28 16:08:25 +02:00
Fabio Erculiani 0ea090b259 [todo] update TODO 2010-08-26 11:42:20 +02:00
Fabio Erculiani 44020f6d40 [po] update translations 2010-08-25 03:45:32 +02:00
Fabio Erculiani 630d069c52 [sulfur] show warnings for orphaned system packages and packages unavailable in repositories 2010-08-25 03:44:25 +02:00
Fabio Erculiani e099600132 [entropy] add logrotate file 2010-08-25 03:21:27 +02:00
Fabio Erculiani b3716a6555 [equo] warn user about orphaned packages not in repos anymore and orphaned system packages 2010-08-24 13:48:17 +02:00
Fabio Erculiani 4be9cb5a94 [entropy.client.interfaces.dep] trivial docstring update 2010-08-24 13:24:06 +02:00
Fabio Erculiani b4488b1a59 [entropy.transceivers] make SSH transceiver working on non-standard SSH ports (regression) 2010-08-24 09:54:37 +02:00
Fabio Erculiani 1970a36d14 [tests] add another revision bump test 2010-08-20 15:37:02 +02:00
Fabio Erculiani 3fcf104316 [entropy.server] fix revision bumping support
Packages were removed before the revision bumping logic code had
a chance to calculate the new package revision.
2010-08-20 14:14:36 +02:00
Fabio Erculiani 4352f39d1b [tests] server: add package revision bumping test 2010-08-20 14:14:15 +02:00
Fabio Erculiani 28b3913c2d [todo] update TODO 2010-08-18 21:57:08 +02:00
Fabio Erculiani a2649b3413 [entropy.db] fix regression in EntropyRepository.retrieveUseflags 2010-08-18 21:42:29 +02:00
Fabio Erculiani 47690cea4b [entropy.db] more list to tuple conversion, see previous commit 2010-08-18 21:41:49 +02:00
Fabio Erculiani c86ba293f5 [entropy.db] EntropyRepositoryBase: prefer tuple over list when returning objects
This commit drastically changes EntropyRepository API, return object
are now either tuple or frozenset for most functions. This aims to
improve metadata reliability across function calls, making impossible
to change their content. Frozenset and tuple are immutable types.
2010-08-18 20:58:15 +02:00
Fabio Erculiani 72b14eb71e [entropy.db] EntropyRepositoryBase: return frozenset objects instead of set 2010-08-18 17:42:56 +02:00
Fabio Erculiani 9d3f942095 Revert "[entropy.db] copy objects before pushing/popping to/from on-RAM cache"
This reverts commit 38c875a72e.
2010-08-18 15:59:38 +02:00
Fabio Erculiani 38c875a72e [entropy.db] copy objects before pushing/popping to/from on-RAM cache 2010-08-18 15:54:33 +02:00
Fabio Erculiani 4042bf9a4f [entropy.db] EntropyRepository: drop deprecated methods 2010-08-18 15:50:36 +02:00
Fabio Erculiani 20f5be83ae Tagging Entropy version 0.99.49.21 0.99.49.21 2010-08-18 14:40:50 +02:00
Fabio Erculiani 26c80211a4 [entropy.db] EntropyRepository: rewrite live cache support to improve robustness, cache object is now static 2010-08-18 14:01:58 +02:00
Fabio Erculiani 051ca2bfce [entropy.db] EntropyRepository: fix searchEclassedPackages(), it didn't work 2010-08-18 09:03:16 +02:00
Fabio Erculiani 6523d778a5 [entropy.db.skel] EntropyRepositoryBase.searchEclassedPackages always returns list 2010-08-18 09:02:29 +02:00