Commit Graph

194 Commits

Author SHA1 Message Date
Jonas Borgström e578d28184 Remove hashing from PlaintextKey.
Not needed since silent disk corruption will be detected
by the repository segment checksum.
2013-07-08 14:00:22 +02:00
Jonas Borgström a887fa2065 Verify hash before decompressing with PlaintextKey 2013-07-05 17:04:01 +02:00
Jonas Borgström f827b99ffe Improved documentation. 2013-07-05 12:32:56 +02:00
Jonas Borgström 2ca063124a Use less precision when comparing mtime on systems not supporting st_mtime_ns 2013-07-04 12:10:11 +02:00
Jonas Borgström 3721f04f05 Skip xattr tests unless xattr is enabled on host 2013-07-04 11:59:15 +02:00
Jonas Borgström 5ad2839b53 Enable shortcut for the RemoteRepositoryTestCase 2013-07-03 23:00:11 +02:00
Jonas Borgström f3295cf3e8 Add testsuite shortcut to make remote repository testing more robust. 2013-07-03 22:30:04 +02:00
Jonas Borgström 8bdda86ab4 Removed unused include and added missing close()-call. 2013-07-03 13:08:48 +02:00
Jonas Borgström 07270cfd51 Various hashindex improvements 2013-07-03 12:55:51 +02:00
Jonas Borgström 7e06d30ed4 Rework how exclude patterns work 2013-06-30 22:32:27 +02:00
Jonas Borgström a5376ea4fd Added hashindex test cases and removed unused BandIndex 2013-06-29 14:25:02 +02:00
Jonas Borgström 175f4bb505 Don't print a traceback when remote host closes connection 2013-06-28 13:31:57 +02:00
Jonas Borgström 0b697117ba Add a endianness check to _hashindex.c until the code is big endian safe 2013-06-28 12:38:54 +02:00
Jonas Borgström bf4b13d9dc More xattr code cleanup 2013-06-27 22:10:15 +02:00
Jonas Borgström 4ff095c073 xattr testsuite improvments 2013-06-27 21:56:14 +02:00
Jonas Borgström 0bc8decb60 Port xattr.py to OS X 2013-06-27 21:10:29 +02:00
Jonas Borgström 263b7f6fdd Switch to our own xattr implementation 2013-06-27 13:28:59 +02:00
Jonas Borgström 00bdfa1a8e Add py3.2 compatible unhexlify to helpers.py 2013-06-26 22:00:23 +02:00
Jonas Borgström f6e9da9c5a Fix argparse py33 issue 2013-06-26 21:20:31 +02:00
Jonas Borgström 7875ab3e16 Move cache dir to ~/.cache/darc 2013-06-26 13:55:41 +02:00
Jonas Borgström 9630714fac Fix location parsing issue with short paths 2013-06-26 13:41:42 +02:00
Jonas Borgström 06db9e897c Various sphinx related fixes 2013-06-25 12:39:22 +02:00
Jonas Borgström 9421b64895 Test case refactoring 2013-06-25 12:05:58 +02:00
Jonas Borgström 8a2f555c68 Packaging improvements 2013-06-24 13:53:02 +02:00
Jonas Borgström 2f3489e989 Bump passphrase pbkdf interations count to 100,000.
Other test improvements
2013-06-22 23:08:53 +02:00
Jonas Borgström 599292650c Buffer might already be full when chunker_fill is called. 2013-06-22 21:24:17 +02:00
Jonas Borgström 8cc92d896d Avoid unnecessary reads when we've already reached EOF. 2013-06-22 19:51:07 +02:00
Jonas Borgström c3305291a2 Make sure the path hashed by the files cache is absolute 2013-06-22 13:35:16 +02:00
Jonas Borgström 6fb7ac44b6 Fix include/exclude filter issue 2013-06-22 13:33:21 +02:00
Jonas Borgström 0e5bed3ae5 Various key file improvements 2013-06-20 13:42:10 +02:00
Jonas Borgström e22fcdc011 Forgot to add repository.py 2013-06-20 12:48:54 +02:00
Jonas Borgström c4ec578090 Rename store -> repository 2013-06-20 12:44:58 +02:00
Jonas Borgström 76e3cd6dfe Replace pycrypto with ctype wrapped libcrypto 2013-06-18 14:00:47 +02:00
Jonas Borgström ad08664b65 Switch to st_mtime_ns when available 2013-06-18 14:00:47 +02:00
Jonas Borgström 1fdc5eabc6 Port to Python 3.2+ 2013-06-18 13:39:46 +02:00
Jonas Borgström bda6bc47d7 Use buffer instead of string slicing to reduce memory usage. 2013-06-02 15:55:23 +02:00
Jonas Borgström 994473352d Remove const usage from pyx files to not confuse older cython versions. 2013-06-01 14:17:16 +02:00
Jonas Borgström 3e5433855c Use Cython for all native code 2013-05-31 14:08:02 +02:00
Jonas Borgström b994203c01 chmod should be called before chown to avoid SUID and SGRP reset. 2013-05-18 23:03:16 +02:00
Jonas Borgström 1dc1411302 Add msgpack-python >= 0.3 compatibility 2013-05-17 14:30:39 +02:00
Jonas Borgström 49744c0457 Improved AES counter storage 2012-12-18 21:58:58 +01:00
Jonas Borgström 5b28d428b7 Switch to a buzhash (cyclic polynomial) chunkify implementation 2012-12-18 20:38:16 +01:00
Jonas Borgström 19cb9058ac LRUCache: added missing .pop() implementation 2012-12-18 19:51:34 +01:00
Jonas Borgström 09744e5114 Improved test coverage and end of year weekly pruning bug fix 2012-12-10 20:48:39 +01:00
Jonas Borgström da0e3c4ec8 Improved error handling. 2012-12-09 23:06:33 +01:00
Jonas Borgström 0cc09fb761 mknod needs st_rdev, not st_dev. 2012-12-07 11:17:23 +01:00
Jonas Borgström 491c560c3e Fix tyop 2012-12-06 23:26:52 +01:00
Jonas Borgström 8bb522f1f7 Improved handling of already existing destination files 2012-12-06 23:04:01 +01:00
Jonas Borgström e48d7aa88c Make sure stdin and stdout are non-blocking to avoid dead locks 2012-12-06 23:03:20 +01:00
Jonas Borgström e80e600d41 Simpler and faster LRUCache implementation 2012-12-06 22:57:55 +01:00