Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- New cryptoblob structure: ``` 512B 0+B +----------+---------------+ | comments | file contents | +----------+---------------+ 16B 0+B | plaintext | 64B 0+B 16B +------+---------+--------------------------+-----+---------+------+ | salt | padding | ciphertext | MAC | padding | salt | +------+---------+--------------------------+-----+---------+------+ | urandom data | random-looking data | urandom data | +----------------+--------------------------------+----------------+ ``` - Use new cipher: ChaCha20-IETF instead of SHAKE256-based cipher. - Use a new KDF: `Argon2` instead of `scrypt` and `catpig`. - Rename: `mode` to `action`, `hide` to `embed`, `unhide` to `extract`. - Compare MAC tags in costant time using `hmac.compare_digest()`. - Do not encrypt MAC tags. - Forbid unknown CLI options. - Do not convert specified file paths (input, output, keyfiles) to realpath before opening fd. - Other minor improvements.
- Loading branch information