Thomas Waldmann
a4602c6f61
remove unused hkdf_hmac_sha512 and related tests
2023-12-02 20:35:14 +01:00
Thomas Waldmann
7957af562d
blacken all the code
...
https://black.readthedocs.io/
2022-07-06 16:34:38 +02:00
Thomas Waldmann
f9132687e3
fix selftest count
2022-06-14 15:17:30 +02:00
Thomas Waldmann
e5ea016115
repository: set/query flags, iteration over flagged items (NSIndex)
...
use this to query or set/clear flags in the "extra" word.
also: remove direct access to the "extra" word, adapt tests.
2022-06-14 14:48:56 +02:00
Thomas Waldmann
2c25123284
check that borg does not require pytest for normal usage, fixes #6563
...
also: move the note about this to the very top of the affected modules.
2022-05-07 02:24:18 +02:00
Thomas Waldmann
8bd9477b96
add aad parameter to borg.crypto.low_level api
...
added it for all classes there, so the caller just give it.
for the legacy AES-CTR based classes, the given aad is completely ignored.
this is to stay compatible with repo data of borg < 1.3.
for the new AEAD based classes:
encrypt: the aad is fed into the auth tag computation
decrypt: same. decrypt will fail on auth tag mismatch.
2022-03-26 17:05:57 +01:00
Thomas Waldmann
862eefb96d
fixup: fix SELFTEST_COUNT
2022-03-05 22:26:04 +01:00
TW
e6811748b1
Merge pull request #5873 from ThomasWaldmann/disable-selftest-1.1
...
implement BORG_SELFTEST env variable, fixes #5871
2021-07-03 12:31:13 +02:00
Thomas Waldmann
6fa5bb4630
add tests for blake2b_128
2021-01-28 17:59:46 +01:00
Thomas Waldmann
f41a264d77
if self test fails, also point to OS and hardware, fixes #5334
2020-10-01 20:58:58 +02:00
Thomas Waldmann
dc4abffbc0
remove unused bytes16 conversions
2017-07-27 23:48:30 +02:00
Thomas Waldmann
8752039bec
integrate new crypto code
2017-07-27 23:33:15 +02:00
Marian Beermann
5e1cb9d899
Add tertiary authentication for metadata (TAM)
2016-12-20 22:53:53 +01:00
Marian Beermann
09f470bd85
Add crypto.blake2b_256
2016-11-10 00:06:50 +01:00
Thomas Waldmann
ed128e517b
Merge branch '1.0-maint'
2016-06-25 17:18:14 +02:00
Carlo Teubner
ff470f49f3
typo fixes in comment+docstring
2016-06-18 12:57:54 +01:00
Thomas Waldmann
d1ea925a5b
move borg package to src/
2016-05-05 20:19:50 +02:00