cd14911221
Add new Rust versions in the CI
2025-01-27 09:26:57 +01:00
74d9903f69
Upgrade the getrandom crate
2025-01-27 09:26:38 +01:00
ea5e384c60
Update the cargo deny config
2025-01-03 22:08:22 +01:00
ad9030758c
Set checkout persist-credentials to false
2025-01-03 22:06:02 +01:00
bb951c3726
Fix feature name
2024-11-13 19:27:13 +01:00
b89a967157
Fix indentation
2024-11-13 19:25:06 +01:00
87b4fad9b9
Update the thiserror dependency
2024-11-13 19:24:49 +01:00
a6b2c37365
Update the README
2024-06-24 19:23:44 +02:00
89f82ad04b
Add an initial changelog
2024-06-24 19:18:43 +02:00
375246bd4a
Add badges
2024-06-24 19:10:10 +02:00
e6c387dc2d
Add crate-level documentation
2024-06-24 19:07:37 +02:00
e2ba19a781
Use dedicated enums for storage versions
2024-06-24 17:44:28 +02:00
04a3dc3d80
Document the DataContext struct
2024-06-24 12:25:52 +02:00
40aeea3cd5
Fix comment alignment
2024-06-24 11:25:30 +02:00
4b4d7e0fd6
Document the Coffio struct
2024-06-24 11:20:19 +02:00
cbdb9fdda2
Documenting errors
2024-06-23 10:20:57 +02:00
0955da7e09
Regroup the benchmarks by input size
2024-06-22 12:47:10 +02:00
682a9d579b
Update the benchmarks
2024-06-22 10:46:00 +02:00
2fca9ac904
Add missing comma
2024-06-22 09:53:14 +02:00
4889d6b9b2
Use a specific error type for each invalid version error
2024-06-19 17:15:53 +02:00
44cc9179ca
Add a version number for exported IKML and encrypted data
2024-06-19 17:08:11 +02:00
aa56e5d032
Add a GitHub CI
2024-04-20 19:03:27 +02:00
f1660e212e
Add the key length to the key context
2024-04-20 19:02:55 +02:00
434b3b8bd6
Move criterion out of dev-dependencies so it can be optional
2024-04-20 18:28:47 +02:00
1b95ba7edd
Enforce word wrapping in the README
2024-04-20 18:26:21 +02:00
d7ee6667f9
Update the benchmarks
2024-04-20 18:24:30 +02:00
7cc204f046
Refer to the coffio module in an explicit way
2024-04-20 18:23:57 +02:00
c836f1d572
Update the Cargo.toml
2024-04-20 13:03:15 +02:00
8162fadf19
Hide schemes behind features
2024-04-20 11:48:58 +02:00
76ef9a6820
Enforce line wrapping
2024-04-20 11:43:53 +02:00
a5a917cfe2
Add a few assert
2024-04-07 22:46:14 +02:00
1ebbef58e2
Add missing ?
2024-04-07 22:39:39 +02:00
ba5c5d7dd0
Return the IKM id when adding, revoking or deleting an IKM
2024-04-07 22:32:55 +02:00
67f1c247cc
Have .delete_ikm()
return an error if the requested id is not found
2024-04-07 22:23:25 +02:00
af2c83f934
Set DEFAULT_SCHEME public
2024-04-07 22:17:01 +02:00
51d543a064
Add more documentation
2024-04-07 22:10:40 +02:00
a6a7e31459
Add documentation for the KeyContext
2024-04-07 17:41:41 +02:00
224171c6d5
Allow to encrypt at a specific timestamp
2024-04-07 12:22:04 +02:00
fd7dccddea
Allow to compare errors
2024-04-07 12:21:23 +02:00
5dec70af92
Rename the CipherBox as Coffio
2024-04-07 11:48:33 +02:00
71647c31c5
Allow to spefify not_before and not_after when generating a custom IKM
2024-04-07 11:32:03 +02:00
c22756a2c0
Hide the InputKeyMaterial properties and add accessors
2024-04-07 11:20:01 +02:00
d47f68944a
Rename created_at and expire_at as not_before and not_after
2024-04-07 11:12:23 +02:00
3690351c13
Use the DOI Foundation links
2024-04-07 11:01:46 +02:00
cba3c3946b
Remove a nightly feature
2024-04-07 10:39:06 +02:00
de9d4777aa
Add some basic documentation
2024-04-05 00:17:01 +02:00
0aac6402eb
Change the randomly generated benchmark input
...
The xz backdoor relied on obfuscated test files that contained malicious
code instead of a real test. Since then, test and benchmark input that
cannot be explained should be considered suspicious.
Out of laziness, the input for the xl test (05) was generated through
the `openssl rand -hex` command, which outputs random data as an
hexadecimal string. Although I generated it myself and know there is
nothing hidden in there, I cannot prove it to someone else. Therefore, I
chose to stop using random data for this test and changed it to a
readable "lorem ipsum" string of the same size, like the other tests.
For more information about the xz backdoor and the context in which this
commit take place, please read:
CVE-2024-3094
https://www.openwall.com/lists/oss-security/2024/03/29/4
https://gynvael.coldwind.pl/?lang=en&id=782
https://gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27
2024-04-01 16:25:37 +02:00
b41772c045
Document the reason for the AES-GCM noce size
2024-03-29 22:11:39 +01:00
360917adb8
Add AES128-GCM to the benchmark
2024-03-24 14:38:03 +01:00
747163f433
Check the size of the nonce
2024-03-24 12:17:29 +01:00