Marian Beermann
35c8975a5c
keymanager: don't depend on optional readline module
...
(cherry picked from commit b8793d9577 )
2017-08-30 11:29:57 +02:00
Marian Beermann
dc6049cb73
delete various nogil and threading related lines
2017-08-20 21:30:41 +02:00
enkore
6ffa797bde
Merge pull request #2791 from ThomasWaldmann/dash_open
...
WIP dash_open
2017-07-05 10:02:34 +02:00
Thomas Waldmann
a96dede632
dash_open: generalized and renamed open_file_or_stdin
2017-07-05 01:58:31 +02:00
TW
9ca666907b
use limited unpacker for outer key, fixes #2174 ( #2790 )
...
* use limited unpacker for outer key, fixes #2174
* fixup: higher inner key data size limit
2017-07-04 22:51:31 +02:00
Marian Beermann
9a856533ba
fuse: versions view, linear numbering by archive time
2017-07-03 12:38:10 +02:00
Marian Beermann
336d0426db
crypto low_level: don't mutate local bytes()
...
CPython kind-of permits this (even by the docs),
other implementations don't. Allocate the result on the stack,
then copy to fresh bytes.
2017-07-02 15:19:50 +02:00
Marian Beermann
29646d5b5e
key import: allow reading from stdin
2017-06-27 16:18:21 +02:00
Marian Beermann
78f0e5d473
archiver: add test for paperkey import, fix bug
2017-06-27 12:22:33 +02:00
Thomas Waldmann
89f3cab6cd
move get_limited_unpacker to helpers
...
also: move some constants to borg.constants
2017-06-25 23:36:28 +02:00
Thomas Waldmann
6c2c51939d
Manifest: use limited unpacker
2017-06-25 23:36:28 +02:00
Marian Beermann
221dc1c4c7
normalize authenticated key modes
...
rename authenticated to authenticated-blake2, consistent with the other
blake2 key modes
add authenticated mode that fills the blank and is consistent with the
other "unqualified" key modes
2017-06-11 18:07:09 +02:00
Andrea Gelmini
e4247cc0d2
Fix typos
2017-06-09 16:49:30 +02:00
Marian Beermann
6c91a750d1
algorithms: rename crc32 to checksums
2017-06-01 21:26:42 +02:00
Marian Beermann
0221e31058
file_integrity: use xxh64
2017-06-01 21:26:42 +02:00
Marian Beermann
4e6a771ee7
BORG_PASSCOMMAND: use same cmd-string splitting as BORG_RSH
2017-05-31 19:41:17 +02:00
enkore
349a4ade7c
Merge pull request #2568 from enkore/issue/1101.integration.cache
...
1101.integration.cache
2017-05-31 19:34:43 +02:00
TuXicc
578b76af3a
Added BORG_PASSCOMMAND environment variable ( #2573 )
2017-05-31 19:25:21 +02:00
Marian Beermann
9032aa062b
testsuite: simplify ArchiverCorruptionTestCase
2017-05-31 18:08:20 +02:00
Marian Beermann
83bca02a4e
file_integrity: hash_part: mix length into state
2017-05-25 17:44:01 +02:00
Marian Beermann
1dfe693003
cache: integrity checking in archive.chunks.d
2017-05-25 16:28:46 +02:00
Marian Beermann
39051ac5f1
file_integrity: split in IntegrityCheckedFile + Detached variant
2017-05-25 14:04:41 +02:00
enkore
820066da5d
Implement IntegrityCheckedFile ( #2502 )
...
Implement IntegrityCheckedFile
This is based on much earlier work from October 2016 by me, but is
overall simplified and changed terminology (from "signing" to
hashing and integrity checking).
See #1688 for the full history.
2017-05-12 21:38:31 +02:00
Marian Beermann
a16d81271a
key: add round-trip test
2017-05-12 20:49:17 +02:00
Marian Beermann
848df38d08
Rename Key.passphrase_protected -> logically_encrypted & document
2017-05-12 20:36:23 +02:00
Marian Beermann
cad49b844e
key: authenticated mode = not passphrase protected
2017-05-12 20:35:18 +02:00
Marian Beermann
d964101eb5
consider repokey w/o passphrase == unencrypted
2017-05-07 22:13:49 +02:00
Marian Beermann
a976e11a63
create crypto package with key, keymanager, low_level
2017-05-02 20:49:27 +02:00