Thomas Waldmann
|
0c183acb55
flexible repository key_size (key like in indexing key, id_hash())
|
10 vuotta sitten |
Thomas Waldmann
|
9951e871bc
key_creator: return key class, not instance (remove repository arg)
|
10 vuotta sitten |
Thomas Waldmann
|
7e1aa163a3
aes-gcm: only return the real mac (which is only 128b, 16B)
|
10 vuotta sitten |
Thomas Waldmann
|
c759eeee1e
fix backwards compatibility for unencrypted repos
|
10 vuotta sitten |
Thomas Waldmann
|
012d6448d2
compute mac over all meta, make IV storage flexible, still support legacy
|
10 vuotta sitten |
Thomas Waldmann
|
3149f6a828
cosmetic: s/tag/mac/
|
10 vuotta sitten |
Thomas Waldmann
|
add6bd96e7
move (h)mac out of meta, so we could include the whole meta into mac computation
|
10 vuotta sitten |
Thomas Waldmann
|
af1c8c1b92
refactor parser code, just parse, simplify return tuple
|
10 vuotta sitten |
Thomas Waldmann
|
f767d5803e
fix max unpack length
|
10 vuotta sitten |
Thomas Waldmann
|
b275d18c6b
msgpack: limit unpacker, use bin type for bytes
|
10 vuotta sitten |
Thomas Waldmann
|
61f84efa60
misc. small fixes, discovered by pycharm
|
10 vuotta sitten |
Thomas Waldmann
|
99daa2794d
for zero compression (and decompression), avoid going through zlib
|
10 vuotta sitten |
Thomas Waldmann
|
8a36478287
implement GMAC based on GHASH, use GHASH, faster compression, comments
|
10 vuotta sitten |
Thomas Waldmann
|
6aca9383d7
reintegrate AEAD cipher made from AES CTR + HMAC-SHA256
|
10 vuotta sitten |
Thomas Waldmann
|
c1c94a8682
cosmetics: comments, rename crypt... -> key...
|
10 vuotta sitten |
Thomas Waldmann
|
f042845762
make the cipher variable, uses AEAD-like interface for authentication/encryption
|
10 vuotta sitten |
Thomas Waldmann
|
4cdb1c37ba
use GMAC as default for now, integrate into maccer type system, adapt tests
|
10 vuotta sitten |
Thomas Waldmann
|
20d1a74aaa
Merge branch 'aes_gcm' into merge-all
|
10 vuotta sitten |
Thomas Waldmann
|
f99dc8d413
Merge branch 'flexible_compression' into merge-all
|
10 vuotta sitten |
Thomas Waldmann
|
8032089d62
add remark about potential memory issue with tampered input
|
10 vuotta sitten |
Thomas Waldmann
|
084f6e1602
PR #222 - Merge branch 'issue_189' of https://github.com/ThomasWaldmann/attic into merge
|
10 vuotta sitten |
Thomas Waldmann
|
be29e5f6f4
fix traceback when trying to do unsupported passphrase change, fixes #189
|
10 vuotta sitten |
Thomas Waldmann
|
b53a620602
renumber hash/mac numbers, automate defaults in help
|
10 vuotta sitten |
Thomas Waldmann
|
7d94677993
move layout docstrings to where they belong and update them
|
10 vuotta sitten |
Thomas Waldmann
|
9241fa6336
do not store "iv" into on-disk metadata, just stored_iv (lower 64bits)
|
10 vuotta sitten |
Thomas Waldmann
|
fcea641e26
reimplement new 0x03 format using msgpack
|
10 vuotta sitten |
Thomas Waldmann
|
3aabaa75f7
get rid of PAYLOAD_OVERHEAD
|
10 vuotta sitten |
Thomas Waldmann
|
75652d6390
deduplicate legacy parser code
|
10 vuotta sitten |
Thomas Waldmann
|
7cecee0b29
use parser to completely analyze given format into meta and data, use generator to create format from meta and data
|
10 vuotta sitten |
Thomas Waldmann
|
abaf0d34bb
use Meta namedtuple to pass around header metadata, cleanup
|
10 vuotta sitten |