Skip to content

Conversation

oncilla
Copy link
Contributor

@oncilla oncilla commented Jan 10, 2020

renames:

  • offline to voting_offline key
  • online to voting_online key
  • issuing key in TRC to issuing_grant key
  • ia to isd_as in the AS certificate

remove redundant information in the TRC votes.

fixes #3142


This change is Reviewable

@oncilla oncilla requested a review from scrye January 10, 2020 16:44
Copy link
Collaborator

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

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

Reviewed 15 of 71 files at r1.
Reviewable status: 15 of 71 files reviewed, all discussions resolved (waiting on @scrye)

Copy link
Collaborator

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

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

Reviewed 56 of 71 files at r1.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @oncilla and @scrye)


go/lib/infra/modules/trust/trustdbsqlite/db.go, line 190 at r1 (raw file):

}

func (e *executor) GetIssuingKeyInfo(ctx context.Context, ia addr.IA,

I think this will also be renamed to GetIssuingGrantKeyInfo to be consistent


go/tools/scion-pki/internal/conf/issuer.go, line 44 at r1 (raw file):

	Description          string              `toml:"description"`
	Version              scrypto.Version     `toml:"version"`
	IssuingKeyVersion    *scrypto.KeyVersion `toml:"issuing_grant_key_version"`

I think it would be cleaner to also fix the name here.


go/tools/scion-pki/internal/trcs/testdata/ISD1/ASff00_0_110/keys.toml, line 8 at r1 (raw file):

        not_before = 1573033769
        validity = "1y"
  [primary.offline]

this should also have voting_offline and voting_online


go/tools/scion-pki/internal/trcs/testdata/ISD1/ASff00_0_130/keys.toml, line 8 at r1 (raw file):

        not_before = 1573033769
        validity = "1y"
  [primary.offline]

this should also have voting_offline and voting_online

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, 4 unresolved discussions (waiting on @lukedirtwalker and @scrye)


go/lib/infra/modules/trust/trustdbsqlite/db.go, line 190 at r1 (raw file):

Previously, lukedirtwalker (Lukas Vogel) wrote…

I think this will also be renamed to GetIssuingGrantKeyInfo to be consistent

Done.


go/tools/scion-pki/internal/conf/issuer.go, line 44 at r1 (raw file):

Previously, lukedirtwalker (Lukas Vogel) wrote…

I think it would be cleaner to also fix the name here.

Done.


go/tools/scion-pki/internal/trcs/testdata/ISD1/ASff00_0_110/keys.toml, line 8 at r1 (raw file):

Previously, lukedirtwalker (Lukas Vogel) wrote…

this should also have voting_offline and voting_online

Done.


go/tools/scion-pki/internal/trcs/testdata/ISD1/ASff00_0_130/keys.toml, line 8 at r1 (raw file):

Previously, lukedirtwalker (Lukas Vogel) wrote…

this should also have voting_offline and voting_online

Done.

renames:
- offline to voting_offline key
- online to voting_online key
- issuing key in TRC to issuing_grant key
- ia to isd_as in the AS certificate

remove redundant information in the TRC votes.

fixes scionproto#3142
Copy link
Collaborator

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 18 of 18 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @scrye)

@oncilla oncilla merged commit 7604b59 into scionproto:master Jan 22, 2020
@oncilla oncilla deleted the pub-cppki-cleanup branch January 22, 2020 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CPPKI: rename offline/online to voting_offline/voting_online
2 participants