- May 12, 2023
-
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
Add simple SDMF capability representation See merge request !6
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
Add a Keys module with types and derivation functions Closes #6 See merge request !5
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
* Add direct tests for signature key serialization/deserialization * Fix the RSA Private Key serializer to use PKCS8 like Tahoe-LAFS expects. * Fix the key generator to emit keys in this format. * Fix the key generator to generate 2048 bit keys. * Fix the derivation functions to make the key values internally consistent.
-
Jean-Paul Calderone authored
The previous keys were not serialized as x509 Private-Key Info structures which is the format Tahoe-LAFS expects us to operate on.
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
Standardize on cryptonite See merge request !4
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
The test suite fails, though.
-
Jean-Paul Calderone authored
This is probably better than pulling in three different crypto libraries for each of the difference pieces we need. It's certainly simpler to figure out how to make the pieces play nicely together since we avoid having multiple kinds of AES128 key defined, multiple types named IV and PublicKey, and even multiple implementations of the same module.
-
Jean-Paul Calderone authored
need to move the key stuff to a new branch and finish it on its own probably
-
- May 11, 2023
-
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
- May 10, 2023
-
-
Jean-Paul Calderone authored
k and N not confusing variable names at all...
-
Jean-Paul Calderone authored
Lots of fields left incorrectly populated but at least the erasure encoding is working so we can probably read (without verification) real shares now.
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
Add a Binary instance to deserialize from and serialize to the canonical byte representation Closes #4 See merge request !3
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
Specifically, this will build our new `make-keypairs` executable.
-
Jean-Paul Calderone authored
Add a representation of the share data See merge request !2
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
Read Tahoe-LAFS-generated bytes, decode into a Share, re-encoded to the same bytes.
-
- May 09, 2023
-
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
Just a round-trip-through Binary test for now
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
* We can always interpret the IV so represent it using the IV type instead of as bytes. * We cannot interpret the private key without its decryption key so represent its encrypted form as bytes.
-