-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete old crypto code move v2 inplace #3597
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 310 of 310 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @lukedirtwalker)
go/tools/scion-pki/internal/certs/cmd.go, line 84 at r1 (raw file):
the TRC referenced by the issuer certificate must also be present. See 'scion-pki help v2 certs' for information on the selector.
drop v2
go/tools/scion-pki/internal/certs/cmd.go:See 'scion-pki help v2 certs' for information on the selector.
go/tools/scion-pki/internal/certs/cmd.go:See 'scion-pki help v2 certs' for information on the selector.
go/tools/scion-pki/internal/keys/cmd.go:file structure. See 'scion-pki help v2' for more information.
go/tools/scion-pki/internal/keys/cmd.go:See 'scion-pki help v2 keys' for information on the selector.
go/tools/scion-pki/internal/keys/cmd.go:See 'scion-pki help v2 keys' for information on the selector.
go/lib/scrypto/trc/update_test.go, line 25 at r1 (raw file):
"github.com/scionproto/scion/go/lib/addr" "github.com/scionproto/scion/go/lib/scrypto" trc "github.com/scionproto/scion/go/lib/scrypto/trc"
drop named import
go/lib/scrypto/trc/primary_json_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc"
go/lib/scrypto/trc/primary_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc"
go/lib/scrypto/trc/signed_json_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc"
go/lib/scrypto/trc/signed_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc"
go/lib/scrypto/trc/trc_json_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc"
go/lib/scrypto/trc/trc_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc"
go/lib/scrypto/trc/update_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc"
go/lib/scrypto/trc/verify_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc"
This moves the new TRC, Cert v2 code into the place of the old code. Also moves v2 in the scion-pki to the parent folder. This PR deletes cryptosyncer of the PS and custpk-load tool, because they used the old API. Those removed processes have to be rewritten against the new version of the code.
d299f92
to
7d93d8f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 300 of 310 files reviewed, 2 unresolved discussions (waiting on @oncilla)
go/tools/scion-pki/internal/certs/cmd.go, line 84 at r1 (raw file):
Previously, Oncilla wrote…
drop v2
go/tools/scion-pki/internal/certs/cmd.go:See 'scion-pki help v2 certs' for information on the selector. go/tools/scion-pki/internal/certs/cmd.go:See 'scion-pki help v2 certs' for information on the selector. go/tools/scion-pki/internal/keys/cmd.go:file structure. See 'scion-pki help v2' for more information. go/tools/scion-pki/internal/keys/cmd.go:See 'scion-pki help v2 keys' for information on the selector. go/tools/scion-pki/internal/keys/cmd.go:See 'scion-pki help v2 keys' for information on the selector.
Done.
go/lib/scrypto/trc/update_test.go, line 25 at r1 (raw file):
Previously, Oncilla wrote…
drop named import
go/lib/scrypto/trc/primary_json_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc" go/lib/scrypto/trc/primary_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc" go/lib/scrypto/trc/signed_json_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc" go/lib/scrypto/trc/signed_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc" go/lib/scrypto/trc/trc_json_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc" go/lib/scrypto/trc/trc_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc" go/lib/scrypto/trc/update_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc" go/lib/scrypto/trc/verify_test.go: trc "github.com/scionproto/scion/go/lib/scrypto/trc"
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 10 of 10 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
This moves the new TRC, Cert v2 code into the place of the old code.
Also moves v2 in the scion-pki to the parent folder.
This PR deletes cryptosyncer of the PS and custpk-load tool, because they used the old API.
Those removed processes have to be rewritten against the new version of the code.
This change is