Skip to content
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

clean up references to 'keyless' in ephemeral.Signer #1225

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

dekkagaijin
Copy link
Member

Release Note

NONE

@dekkagaijin dekkagaijin requested a review from mattmoor December 16, 2021 00:26

// Sign implements `Signer`
func (ks keylessSigner) Sign(ctx context.Context, payload io.Reader) (oci.Signature, crypto.PublicKey, error) {
func (ks ephemeralSigner) Sign(ctx context.Context, payload io.Reader) (oci.Signature, crypto.PublicKey, error) {
Copy link
Member

Choose a reason for hiding this comment

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

You should probably use pointer receivers to avoid copies too

Copy link
Member Author

Choose a reason for hiding this comment

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

copies of what? :p

Copy link
Member

Choose a reason for hiding this comment

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

The struct containing the pointer 🙄

@dekkagaijin dekkagaijin merged commit f2e034d into sigstore:main Dec 16, 2021
@dekkagaijin dekkagaijin deleted the nit branch December 16, 2021 00:54
@github-actions github-actions bot added this to the v1.5.0 milestone Dec 16, 2021
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.

2 participants