Matthew Carr
|
09778da5a5
Added the key_len method to Scheme.
|
2 years ago |
Matthew Carr
|
425ff1c3ab
* Fixed a bug in block validation where the writecap was not
|
2 years ago |
Matthew Carr
|
e52c56de9d
Sanded off loose ends from the refactoring.
|
2 years ago |
Matthew Carr
|
ce9525ec95
Finished integrating the Scheme trait.
|
2 years ago |
Matthew Carr
|
142addac7a
Introduced the Scheme trait and associated types
|
2 years ago |
Matthew Carr
|
aad001927a
Added a harness for swtpm so that TPM tests can't interfere
|
2 years ago |
Matthew Carr
|
03053b0d26
* Added retry logic to the persist_key method.
|
2 years ago |
Matthew Carr
|
d50e2f4fa2
Added code to TpmCredStore for persisting credentials.
|
2 years ago |
Matthew Carr
|
d3f6f7e46c
Upgraded error handling by introducing the `conv_err` method.
|
2 years ago |
Matthew Carr
|
304379b025
Implemented decryption for TPM resident creds.
|
2 years ago |
Matthew Carr
|
cd45c590d6
Got signing using the TPM working.
|
2 years ago |
Matthew Carr
|
d0fc5d9a77
Started implementing a TPM backed credentials store.
|
2 years ago |
Matthew Carr
|
f0256889cf
Converted KeyPair struct to a trait.
|
2 years ago |
Matthew Carr
|
dd19b80c56
Split public and private asymmetric keys into two different types.
|
2 years ago |
Matthew Carr
|
e38ca3620a
Converted SignAlgo and VerifyAlgo to the Signer and Verifier traits.
|
2 years ago |
Matthew Carr
|
d1f5c4a488
Converted the EncryptionAlgo and DecryptionAlgo structs into traits.
|
2 years ago |
Matthew Carr
|
672ebfef33
Removed dead code from the tpm module.
|
2 years ago |
Matthew Carr
|
083d953981
Added a script for using swtpm for testing.
|
2 years ago |
Matthew Carr
|
fdd5c086ec
Started writing a module for working with a TPM.
|
2 years ago |
Matthew Carr
|
ab4fd2332b
Added a message for halting a node.
|
2 years ago |
Matthew Carr
|
22afbad1b8
Shared the .vscode directory between the different crates.
|
2 years ago |
Matthew Carr
|
31cc52b2ad
Started working on the harness and test-harness crates.
|
2 years ago |
Matthew Carr
|
9fbf290044
Performed some cleanup in the crypto module.
|
2 years ago |
Matthew Carr
|
c54bd9f89c
* Removed referenced to `VersionedBlock` from the crypto module.
|
2 years ago |
Matthew Carr
|
8c379b2990
Renamed the enum discriminants from *Type to *Kind.
|
2 years ago |
Matthew Carr
|
9e8b7b84b1
Refactored the `Key` type to make it less easy to make security
|
2 years ago |
Matthew Carr
|
80eeef4e44
Used strum to eliminate duplicate enum definition.
|
2 years ago |
Matthew Carr
|
c92b2e5615
Renamed WriteCap to Writecap and ReadCap to Readcap.
|
2 years ago |
Matthew Carr
|
60e4b37b50
Wrote tests for the verify_writecap function.
|
2 years ago |
Matthew Carr
|
a9aaf873c0
Updated the test_helpers to produce valid Writecaps.
|
2 years ago |