Rewrite to use the new tpmdirect API from go-tpm#9
Conversation
|
@chrisfenner I don't know if you are interested, but here is a rewrite of I'm not sure if this works as some form of feedback or if this helps on the API design :) |
c2d78a3 to
0d904bb
Compare
|
Age interrupting the plugin too quickly it seems(?) |
Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
We get a stanza, and we should reply with a stanza. Previously we would intermingle this which would probably lead to a couple of subtle bugs This also implements multiple recipients.
Signed-off-by: Morten Linderud <morten@linderud.pw>
db93c1c to
d26b975
Compare
Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
d26b975 to
7c1ed7f
Compare
|
definitely interested, thanks for tagging me! I have filed a feature request for go-tpm to add a UnmarshalReader/MarshalReader surface, and left a few other comments on the design of your code here. Thanks for using the new go-tpm API!! |
Thank you very much for taking the time to review the code :) |
Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
…g function Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
…nderstand Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
No description provided.