TW
dc89798496
Merge pull request #6665 from ThomasWaldmann/fix-key-idhash-compat
...
fix key id hash compat check
2022-05-04 00:00:21 +02:00
Thomas Waldmann
af776ce7a6
refactor: borg.key.uses_same_id_hash(key_old, key_new)
2022-05-03 21:32:35 +02:00
Thomas Waldmann
3239836dce
fix key id hash compat check: also support new->new
...
the check only considered old key -> new key changes, but
new key to new key is of course also fine.
e.g. repokey-aes-ocb -> repokey-aes-ocb (both use hmac-sha256
as id hash)
2022-05-03 21:25:44 +02:00
TW
b0f7dd0904
Merge pull request #6664 from ThomasWaldmann/api-give-compressed-master
...
api: enable giving already compressed data
2022-05-03 11:43:47 +02:00
Thomas Waldmann
0e53dc040a
api: enable giving already compressed data
...
the api already offered getting compressed data,
but not giving compressed data.
thus: cache.add_chunk and key.encrypt improved.
2022-05-03 04:15:01 +02:00
TW
19ad926c70
Merge pull request #6662 from ThomasWaldmann/decrypt-fixes
...
fix key.decrypt calls
2022-05-02 21:25:26 +02:00
Thomas Waldmann
cc0e33da65
fix key.decrypt calls
...
the id must now always be given correctly because
the AEAD crypto modes authenticate the chunk id.
the special case when id == MANIFEST_ID is now handled
inside assert_id, so we never need to give a None id.
2022-05-02 20:56:50 +02:00
TW
3ba9bab66c
Merge pull request #6660 from ThomasWaldmann/reuse-key
...
init --other-location=OTHER_REPO: reuse key material from OTHER_REPO
2022-05-02 20:52:13 +02:00
Thomas Waldmann
4b070040d6
init --other-location=OTHER_REPO: reuse key material from OTHER_REPO, fixes #6554
...
it potentially will ask for the passphrase for the key of OTHERREPO.
for the newly created repo, it will use the same passphrase.
it will copy: enc_key, enc_hmac_key, id_key, chunker_seed.
keeping the id_key (and id algorithm) and the chunker seed (and chunker
algorithm and parameters) is desirable for deduplication.
the id algorithm is usually either HMAC-SHA256 or BLAKE2b.
keeping the enc_key / enc_hmac_key must be implemented carefully:
A) AES-CTR -> AES-CTR is INSECURE due to nonce reuse, thus not allowed.
B) AES-CTR -> AEAD with session keys is secure.
C) AEAD with session keys -> AEAD with session keys is secure.
AEAD modes with session keys: AES-OCB and CHACHA20-POLY1305.
2022-05-02 18:50:27 +02:00
Thomas Waldmann
020e2defaf
implement with_other_repository and BORG_OTHER_REPO
2022-05-02 18:48:14 +02:00
Thomas Waldmann
a375335859
make some code from with_repository reusable
2022-05-02 18:45:14 +02:00
TW
65c7829216
Merge pull request #6637 from ThomasWaldmann/docs-files-cache-master
...
FAQ: add a hint about --debug-topic=files_cache
2022-04-20 13:02:09 +02:00
Thomas Waldmann
c2ad118434
FAQ: add a hint about --debug-topic=files_cache
2022-04-20 13:00:02 +02:00
TW
12d27d7944
Merge pull request #6630 from ThomasWaldmann/fix-iec-master
...
fix --iec mode output for borg delete and prune
2022-04-19 23:39:13 +02:00
TW
f937a72a13
Merge pull request #6633 from ThomasWaldmann/fix-info-authenticated-master
...
info: fix authenticated mode repo to show "Encrypted: No", fixes #6462
2022-04-19 23:38:43 +02:00
Thomas Waldmann
16f6983b1d
info: fix authenticated mode repo to show "Encrypted: No", fixes #6462
2022-04-19 22:12:23 +02:00
Thomas Waldmann
c86d19cc06
prune: fix --stats --iec output to use binary units, see #6606
2022-04-19 21:56:29 +02:00
Thomas Waldmann
8d1e012ecc
delete: fix --stats --iec output to use binary units, see #6606
2022-04-19 21:56:19 +02:00
TW
5743ec7e09
Merge pull request #6616 from ThomasWaldmann/fix-files-cache-6353-master
...
fix transaction rollback: use files cache filename as found in txn.active
2022-04-19 21:16:29 +02:00
TW
0e9431b174
Merge pull request #6624 from ThomasWaldmann/fix-diff-6483-master
...
diff: support presence change for blkdev, chrdev and fifo items (master)
2022-04-19 17:16:13 +02:00
TW
c60a314ee0
diff: support presence change for blkdev, chrdev and fifo items (1.2-maint) ( #6615 )
...
diff: support presence change for blkdev, chrdev and fifo items
also: refactor / clean up / reuse code.
2022-04-19 16:49:21 +02:00
TW
299196ebcb
Merge pull request #6619 from ThomasWaldmann/invalid-repo-msg-master
...
better error msg for defect or unsupported repo configs, fixes #6566
2022-04-18 09:53:09 +02:00
Thomas Waldmann
1aba534c5a
better error msg for defect or unsupported repo configs, fixes #6566
2022-04-18 09:27:26 +02:00
Thomas Waldmann
37430beda3
fix transaction rollback: use files cache filename as found in txn.active, fixes #6353
2022-04-18 09:03:37 +02:00
TW
7fd53903f4
Merge pull request #6604 from ThomasWaldmann/argon2-chacha
...
argon2 key: use chacha20-poly1305 instead of aes256-ctr+hmac-sha256
2022-04-17 07:10:46 +02:00
TW
195a45d1c1
Merge pull request #6609 from ThomasWaldmann/docs-table-formatting-master
...
init: docs table formatting fixed (master)
2022-04-17 01:59:30 +02:00
TW
f766a21fc7
Merge pull request #6610 from ThomasWaldmann/more-benchmarks-master
...
benchmark cpu: add some more compression benchmarks
2022-04-17 01:59:17 +02:00
Thomas Waldmann
77a8464a96
benchmark cpu: add some more compression benchmarks
2022-04-17 00:25:28 +02:00
Thomas Waldmann
0cf97dc6db
build_usage
2022-04-17 00:07:12 +02:00
Thomas Waldmann
6166e391c9
init: reformat table in docs
2022-04-17 00:07:12 +02:00
Thomas Waldmann
ed59159649
argon2 key: use chacha20-poly1305 instead of aes256-ctr + hmac-sha256, fixes #6601
...
so we can completely get rid of aes-ctr some day.
2022-04-16 11:52:33 +02:00
TW
d2c22633e8
Merge pull request #6599 from ThomasWaldmann/fix-rtfd-master
...
setup.cfg: setup_requires setuptools_scm
2022-04-15 01:17:57 +02:00
Thomas Waldmann
0c27272f97
setup.cfg: setup_requires setuptools_scm
...
readthedocs.org uses python setup.py install (not pip install).
2022-04-15 00:51:41 +02:00
TW
201e849fdd
Merge pull request #6596 from borgbackup/rel130a1
...
release 1.3.0a1
2022-04-15 00:04:17 +02:00
Thomas Waldmann
9f86c375b4
python setup.py build_man
2022-04-14 21:25:12 +02:00
Thomas Waldmann
d7fe23c515
python setup.py build_usage
2022-04-14 21:25:12 +02:00
Thomas Waldmann
801751e44e
set 1.3.0a1 release date
...
also: cosmetic fixes in changelog
2022-04-14 21:03:11 +02:00
TW
4c749eac2a
Merge pull request #6595 from ThomasWaldmann/update-changes3
...
update CHANGES
2022-04-14 20:47:48 +02:00
Thomas Waldmann
38a7a48d8e
update CHANGES
2022-04-14 20:47:12 +02:00
TW
a1ba1c1149
Merge pull request #6593 from ThomasWaldmann/openbsd-openssl
...
openbsd: use openssl, remove libressl support, fixes #6474
2022-04-14 20:46:40 +02:00
Thomas Waldmann
be9e7d37c2
remove libressl support
...
currently it does not have what we need, so we can simplify our code.
2022-04-14 19:31:55 +02:00
Thomas Waldmann
c592b20262
use openssl on openbsd, fixes #6474
2022-04-14 19:31:55 +02:00
TW
3ef355a98f
Merge pull request #6592 from ThomasWaldmann/fix-md-chunks-processing-master
...
metadata stream can produce all-zero chunks, fixes #6587
2022-04-14 03:53:36 +02:00
Thomas Waldmann
e199f5bc6c
metadata stream can produce all-zero chunks, fixes #6587
...
all-zero chunks are propagated as:
CH_ALLOC, data=None, size=len(zeros)
other chunks are:
CH_DATA, data=data, size=len(data)
also: remove the comment with the wrong assumption
2022-04-14 00:22:05 +02:00
TW
1b9a49c5c2
Merge pull request #6588 from ThomasWaldmann/docs-virt-master
...
virtualisation speed tips, fixes #6456
2022-04-13 23:08:00 +02:00
TW
cfb0821006
Merge pull request #6586 from ThomasWaldmann/alpha
...
master branch is alpha
2022-04-13 22:50:47 +02:00
Thomas Waldmann
18c398e708
virtualisation speed tips
2022-04-13 22:48:27 +02:00
Thomas Waldmann
2872d7acfd
point to setup.cfg also
2022-04-13 03:50:54 +02:00
Thomas Waldmann
f5f85b9e76
use borgbackup.org as main site
...
the github site is linked via project_urls -> Source Code
2022-04-13 03:48:33 +02:00
Thomas Waldmann
4b561cfb95
master branch is alpha development status (or worse)
2022-04-13 03:42:05 +02:00