Skip to content

Conversation

oncilla
Copy link
Contributor

@oncilla oncilla commented Nov 6, 2019

Remove legacy key generation based on as.ini files in v2 of the
scion-pki tool.


This change is Reviewable

@oncilla oncilla added the c/tooling SCION network tools label Nov 6, 2019
@oncilla oncilla added this to the Q4S2 milestone Nov 6, 2019
@oncilla oncilla requested review from scrye and karampok and removed request for scrye November 6, 2019 16:18
Copy link
Contributor

@karampok karampok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 4 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @oncilla)


go/tools/scion-pki/internal/v2/keys/priv.go, line 224 at r1 (raw file):

		return private, err
	default:
		return nil, serrors.New("unsupported key algorithm", "algo", algo)

if you do a GoCoverage the errors case are not unit-tested.
(but its okay, just for stats)

Copy link
Contributor Author

@oncilla oncilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @karampok)


go/tools/scion-pki/internal/v2/keys/priv.go, line 224 at r1 (raw file):

Previously, karampok (Konstantinos) wrote…

if you do a GoCoverage the errors case are not unit-tested.
(but its okay, just for stats)

Yes, the error cases are not tested.
I'm not convinced it is worth introducing the tests.

Copy link
Contributor

@karampok karampok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved


go/tools/scion-pki/internal/v2/keys/priv.go, line 224 at r1 (raw file):

Previously, Oncilla wrote…

Yes, the error cases are not tested.
I'm not convinced it is worth introducing the tests.

fine by me (i was not blocking you on that, right?)

Remove legacy key generation based on as.ini files in v2 of the
scion-pki tool.
@oncilla oncilla force-pushed the pub-spki-keys-remove-legacy branch from a5c3257 to bcf9c0c Compare November 8, 2019 07:33
@oncilla oncilla merged commit fa2b40b into scionproto:master Nov 8, 2019
@oncilla oncilla deleted the pub-spki-keys-remove-legacy branch November 8, 2019 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/tooling SCION network tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants