Commit graph

  • bb951c3726 Fix feature name main Rodolphe Bréard 2024-11-13 19:27:13 +0100
  • b89a967157 Fix indentation Rodolphe Bréard 2024-11-13 19:25:06 +0100
  • 87b4fad9b9 Update the thiserror dependency Rodolphe Bréard 2024-11-13 19:24:49 +0100
  • a6b2c37365 Update the README Rodolphe Bréard 2024-06-24 19:23:44 +0200
  • 89f82ad04b Add an initial changelog Rodolphe Bréard 2024-06-24 19:18:43 +0200
  • 375246bd4a Add badges v0.1 Rodolphe Bréard 2024-06-24 19:10:10 +0200
  • e6c387dc2d Add crate-level documentation Rodolphe Bréard 2024-06-24 19:07:37 +0200
  • e2ba19a781 Use dedicated enums for storage versions Rodolphe Bréard 2024-06-24 17:44:28 +0200
  • 04a3dc3d80 Document the DataContext struct Rodolphe Bréard 2024-06-24 12:25:52 +0200
  • 40aeea3cd5 Fix comment alignment Rodolphe Bréard 2024-06-24 11:25:30 +0200
  • 4b4d7e0fd6 Document the Coffio struct Rodolphe Bréard 2024-06-24 11:20:19 +0200
  • cbdb9fdda2 Documenting errors Rodolphe Bréard 2024-06-23 10:20:57 +0200
  • 0955da7e09 Regroup the benchmarks by input size Rodolphe Bréard 2024-06-22 12:47:10 +0200
  • 682a9d579b Update the benchmarks Rodolphe Bréard 2024-06-22 10:46:00 +0200
  • 2fca9ac904 Add missing comma Rodolphe Bréard 2024-06-22 09:53:14 +0200
  • 4889d6b9b2 Use a specific error type for each invalid version error Rodolphe Bréard 2024-06-19 17:15:53 +0200
  • 44cc9179ca Add a version number for exported IKML and encrypted data Rodolphe Bréard 2024-06-19 17:08:11 +0200
  • aa56e5d032 Add a GitHub CI Rodolphe Bréard 2024-04-20 19:03:27 +0200
  • f1660e212e Add the key length to the key context Rodolphe Bréard 2024-04-20 19:02:55 +0200
  • 434b3b8bd6 Move criterion out of dev-dependencies so it can be optional Rodolphe Bréard 2024-04-20 18:28:47 +0200
  • 1b95ba7edd Enforce word wrapping in the README Rodolphe Bréard 2024-04-20 18:26:21 +0200
  • d7ee6667f9 Update the benchmarks Rodolphe Bréard 2024-04-20 18:24:30 +0200
  • 7cc204f046 Refer to the coffio module in an explicit way Rodolphe Bréard 2024-04-20 18:23:57 +0200
  • c836f1d572 Update the Cargo.toml Rodolphe Bréard 2024-04-20 13:03:15 +0200
  • 8162fadf19 Hide schemes behind features Rodolphe Bréard 2024-04-20 11:48:58 +0200
  • 76ef9a6820 Enforce line wrapping Rodolphe Bréard 2024-04-20 11:43:53 +0200
  • a5a917cfe2 Add a few assert Rodolphe Bréard 2024-04-07 22:46:14 +0200
  • 1ebbef58e2 Add missing ? Rodolphe Bréard 2024-04-07 22:39:39 +0200
  • ba5c5d7dd0 Return the IKM id when adding, revoking or deleting an IKM Rodolphe Bréard 2024-04-07 22:32:55 +0200
  • 67f1c247cc Have .delete_ikm() return an error if the requested id is not found Rodolphe Bréard 2024-04-07 22:23:25 +0200
  • af2c83f934 Set DEFAULT_SCHEME public Rodolphe Bréard 2024-04-07 22:17:01 +0200
  • 51d543a064 Add more documentation Rodolphe Bréard 2024-04-07 22:10:40 +0200
  • a6a7e31459 Add documentation for the KeyContext Rodolphe Bréard 2024-04-07 17:41:41 +0200
  • 224171c6d5 Allow to encrypt at a specific timestamp Rodolphe Bréard 2024-04-07 12:22:04 +0200
  • fd7dccddea Allow to compare errors Rodolphe Bréard 2024-04-07 12:21:23 +0200
  • 5dec70af92 Rename the CipherBox as Coffio Rodolphe Bréard 2024-04-07 11:48:33 +0200
  • 71647c31c5 Allow to spefify not_before and not_after when generating a custom IKM Rodolphe Bréard 2024-04-07 11:32:03 +0200
  • c22756a2c0 Hide the InputKeyMaterial properties and add accessors Rodolphe Bréard 2024-04-07 11:20:01 +0200
  • d47f68944a Rename created_at and expire_at as not_before and not_after Rodolphe Bréard 2024-04-07 11:12:23 +0200
  • 3690351c13 Use the DOI Foundation links Rodolphe Bréard 2024-04-07 11:01:46 +0200
  • cba3c3946b Remove a nightly feature Rodolphe Bréard 2024-04-07 10:39:06 +0200
  • de9d4777aa Add some basic documentation Rodolphe Bréard 2024-04-05 00:17:01 +0200
  • 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. Rodolphe Bréard 2024-04-01 16:25:37 +0200
  • b41772c045 Document the reason for the AES-GCM noce size Rodolphe Bréard 2024-03-29 22:11:39 +0100
  • 360917adb8 Add AES128-GCM to the benchmark Rodolphe Bréard 2024-03-24 14:38:03 +0100
  • 747163f433 Check the size of the nonce Rodolphe Bréard 2024-03-24 12:17:29 +0100
  • ca86747862 Add support for AES128-GCM using HKDF-SHA256 to derive keys Rodolphe Bréard 2024-03-24 12:16:54 +0100
  • 56db45cbad Add comments Rodolphe Bréard 2024-03-24 10:59:48 +0100
  • ae19a16531 Improve the context and IKM list APIs Rodolphe Bréard 2024-03-24 09:47:36 +0100
  • 90c8a2aa87 API change: pass the data after the context Rodolphe Bréard 2024-03-24 09:25:27 +0100
  • c62029ee91 Add a benchmark Rodolphe Bréard 2024-03-23 19:23:14 +0100
  • 16b2087627 Update cargo-deny Rodolphe Bréard 2024-03-23 11:41:45 +0100
  • e6f7167525 Move the EncryptedData struct to a dedicated module Rodolphe Bréard 2024-03-17 14:45:18 +0100
  • 5803e2971d Remove the protection feature Rodolphe Bréard 2024-03-17 14:38:29 +0100
  • 8cefe7c16b Move the scheme return fn type definitions to the scheme module Rodolphe Bréard 2024-03-17 14:35:26 +0100
  • b8539602f0 Move the context objects to a dedicated module Rodolphe Bréard 2024-03-17 14:31:01 +0100
  • 749dc03f71 Replace the encrypt and decrypt function by the CipherBox struct Rodolphe Bréard 2024-03-17 14:23:03 +0100
  • 47557fe350 Fix the features Rodolphe Bréard 2024-03-16 11:22:08 +0100
  • 94b1809ffa Do not use expired IKMs Rodolphe Bréard 2024-03-16 10:29:06 +0100
  • 66271877dc Return an error if the IKM list ID is invalid Rodolphe Bréard 2024-03-16 10:28:25 +0100
  • 230f867502 Add tests for the IKM list Rodolphe Bréard 2024-03-16 10:27:03 +0100
  • bc3cfe71dc Add the IKM id and the nonce to the AAD Rodolphe Bréard 2024-03-11 14:55:08 +0100
  • bf98245b04 Improve the tests on ciphertext parsing Rodolphe Bréard 2024-03-11 10:52:15 +0100
  • 232fdb6fb2 Add decryption tests Rodolphe Bréard 2024-03-11 10:44:08 +0100
  • ac5adcc4ed Add some ciphertext parsing test Rodolphe Bréard 2024-03-11 10:25:40 +0100
  • d922297e91 Use the DataContext type Rodolphe Bréard 2024-03-09 17:29:55 +0100
  • 165b197a3a Add tests to the KDF Rodolphe Bréard 2024-03-09 16:27:23 +0100
  • cac466f5ed Use a NonZeroU64 since the periodicity cannot be zero Rodolphe Bréard 2024-03-09 16:26:21 +0100
  • 61d38fb6d9 Rename the get_value method to get_ctx_elems Rodolphe Bréard 2024-03-09 16:09:34 +0100
  • 35400b7278 Set a default key periodicity of 1 year Rodolphe Bréard 2024-03-09 12:40:28 +0100
  • e735198f6a Allow to set the key context periodicity Rodolphe Bréard 2024-03-09 11:50:27 +0100
  • 9e3cfc2fd6 Use the time period instead of the timestamp Rodolphe Bréard 2024-03-09 11:49:40 +0100
  • 4e40314c67 Reduce the default IKM duration to 10 years and document it Rodolphe Bréard 2024-03-02 14:55:57 +0100
  • bdfaf8adff Fix the features Rodolphe Bréard 2024-03-02 14:55:14 +0100
  • a13411f122 Remove the use in the error module Rodolphe Bréard 2024-03-02 14:54:24 +0100
  • 5da1e3f5b6 Add a dedicated type for the key context Rodolphe Bréard 2024-03-02 14:53:38 +0100
  • a0bbd6bf00 Improve error display in tests Rodolphe Bréard 2024-03-02 11:05:56 +0100
  • 423476c987 Refactor the IKM storage format Rodolphe Bréard 2024-03-02 11:00:59 +0100
  • 349ed79b4c Update the readme Rodolphe Bréard 2024-02-25 23:05:22 +0100
  • 15198f5286 Implement deref on the IKM list, mainly to allow iteration over IKMs Rodolphe Bréard 2024-02-25 18:14:13 +0100
  • 395703dae4 Expose the IKM Rodolphe Bréard 2024-02-25 18:08:00 +0100
  • 6ceb598c04 Allow to delete an IKM Rodolphe Bréard 2024-02-25 15:28:08 +0100
  • c6a3855847 Allow to revoke an IKM Rodolphe Bréard 2024-02-25 15:23:04 +0100
  • a1bf9e0bcc Move the scheme related primitives to dedicated modules Rodolphe Bréard 2024-02-25 14:19:56 +0100
  • 382492e915 Remove comments that went too obvious after refactoring the parts they were commenting Rodolphe Bréard 2024-02-25 14:06:43 +0100
  • 85d0ee7e31 Implement decryption Rodolphe Bréard 2024-02-25 13:40:19 +0100
  • 9a60461266 Fix the test Rodolphe Bréard 2024-02-25 13:36:58 +0100
  • 58df7fb221 Add a type alias for the scheme serialize type Rodolphe Bréard 2024-02-25 12:03:06 +0100
  • 929d089e56 Add a type for the counter id Rodolphe Bréard 2024-02-25 11:57:04 +0100
  • 524b2993de Add a type for the IKM id Rodolphe Bréard 2024-02-25 11:53:52 +0100
  • 59c36b0ebe Rename the parsing errors using the module name Rodolphe Bréard 2024-02-25 11:46:08 +0100
  • 16d4e19617 Parse the stored encrypted data Rodolphe Bréard 2024-02-25 11:41:30 +0100
  • 9df9fa6bf5 Use a custom result type Rodolphe Bréard 2024-02-17 20:47:07 +0100
  • 4ddc0413ec Add cargo deny Rodolphe Bréard 2024-02-17 20:27:05 +0100
  • 14e2fc2ac6 Implement encryption Rodolphe Bréard 2024-02-17 20:26:45 +0100
  • cfdfcec03e Add some tests Rodolphe Bréard 2024-02-17 17:58:42 +0100
  • f3c6dee007 Move the canonicalize function to a dedicated module Rodolphe Bréard 2024-02-17 17:12:16 +0100
  • a553821ed8 Remove an useless mut Rodolphe Bréard 2024-02-17 16:49:50 +0100
  • 65796a2c91 Refactor the context canonicalization Rodolphe Bréard 2024-02-17 16:29:54 +0100
  • d679546331 Derive the key Rodolphe Bréard 2024-02-15 23:45:21 +0100