5c344bfceb
proto.Clone couldn't makes copy for custom fields. We should reset and restore MetaHeader before/after Sign/Verify. Add test coverage to check that all works like expected. |
||
---|---|---|
.. | ||
epoch.go | ||
meta.go | ||
meta.pb.go | ||
meta.proto | ||
meta_test.go | ||
role.go | ||
role_test.go | ||
sign.go | ||
verify.go | ||
verify.pb.go | ||
verify.proto | ||
verify_test.go | ||
verify_test.pb.go | ||
verify_test.proto |