Conversation
There was a problem hiding this comment.
Shouldn't LibVersion(), HashID() and EpochDeadlinePolicy() be in policy.go?
There was a problem hiding this comment.
These can change in epochs, thus I think it should be here, corresponding with policies of a specific STR. How does that sound? Never mind. I fixed it in 1d49b1e8b922409ad6f0b24fc6e7befee70978cc
|
Alternatively to having public fields in the TB and STR, what I had in mind when I opened #24 was to expose a |
|
In my branch, I decided to leave the public fields that were added in 812caad since I'm not sure if the client will still need to access those fields using the getters. |
I got your idea. But the signing key cannot be used here, since I presume that the
Actually, I think the key server would use those getters to return the STR/TB to the client. The client doesn't use those getters directly. |
79e4d49 to
c0a4f9e
Compare
Yes, the idea would be for the client to call
Ok, I see. |
Sorry for that. I removed it in 3da95ef40a19094ad9f95f556676649c1deb2daf |
Yeah, with all the signature verification wrappers in place, I suppose we no longer need to export |
Argh, this was silly of me. I forgot |
90682a2 to
e0adade
Compare
25a6925 to
2f704cf
Compare
|
Like we've decided to keep the |
* Resolves #24
- Change key param in verify funcs to public key - Make Sign and Verify functions of their key types
Reopening for discussion here since I messed up #34