Commit graph

9 commits

Author SHA1 Message Date
Patrick Uiterwijk
3811bffc67
fix: use hash for name oject hash alg
This makes sure we actually use the correct hash algorithm for name alg.

Fixes: #9
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2021-11-03 10:25:49 +01:00
Patrick Uiterwijk
130876f40a Re-enable the tests
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2020-12-03 14:30:58 +00:00
Patrick Uiterwijk
ec1770cdb5 Rebase on tss-esapi 4.0.10-alpha and tpm2-policy 0.3.0
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2020-12-03 14:28:06 +00:00
Patrick Uiterwijk
06b2cd9335 Add fix for extra argument from clevis v15
Clevis v15 added an additional argument, which is either an empty string
or the string "-y".
This argument is not used in this PIN, but we checked the exact number of
arguments to parse, which got changed.
This also accepts more additional arguments, and just ignores them.

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2020-11-10 10:54:01 +01:00
Patrick Uiterwijk
6a37627500 Test symlinked encrypt and decrypt
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2020-08-25 13:11:46 +02:00
Patrick Uiterwijk
83468f3028 Fix comments for rsa test
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2020-08-03 10:04:24 +02:00
Patrick Uiterwijk
874c0b3def Add RSA key tests
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2020-08-03 09:42:39 +02:00
Patrick Uiterwijk
2313184c9e Add sha1 pcr tests
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2020-07-22 09:54:09 +02:00
Patrick Uiterwijk
a2650d5234 Initial commit 2020-07-16 16:22:34 +02:00