Open g-k opened 5 years ago
e.g. for mar they're more or less the same
https://github.com/mozilla-services/autograph/blob/722280be08beaf7c8b397349d749bbdbfa62820a/tools/autograph-monitor/mar.go#L12-L36
https://github.com/mozilla-services/autograph/blob/9a78438bf02700b2680a3af2617155a7fade3dfe/handlers_test.go#L706-L724
Similarly for other signer types. These could move to signer/<signer type> and possibly have a Verifier interface defined for signers to implement.
signer/<signer type>
refs: #593
e.g. for mar they're more or less the same
https://github.com/mozilla-services/autograph/blob/722280be08beaf7c8b397349d749bbdbfa62820a/tools/autograph-monitor/mar.go#L12-L36
https://github.com/mozilla-services/autograph/blob/9a78438bf02700b2680a3af2617155a7fade3dfe/handlers_test.go#L706-L724
Similarly for other signer types. These could move to
signer/<signer type>
and possibly have a Verifier interface defined for signers to implement.