New release that builds with modern smallstep/cli-utils?

Open
#2,860 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
go

Research direction

Start with authority/provisioner/aws.go, authority/provisioner/azure.go, and authority/provisioner/oidc.go, then inspect commit cddde30af36e238f156bb557bfd1f11a05ffe6f9 for the compatibility changes. Reproduce the build with smallstep/cli-utils v0.13.0 and run the provisioner tests. The change is complete when those packages build against v0.13.0 and the resulting fix is included in a patch release.

Written by the indexing model from the issue text.

Description

Hi! I help package this for Debian, and we just upgraded smallstep/cli-utils from 0.12.2 to 0.13.0 and that broke the builds of smallstep/cerficaites v0.30.2:

https://ci.debian.net/packages/g/golang-github-smallstep-certificates/testing/amd64/78399047/#L2463

121s github.com/smallstep/certificates/authority/provisioner
121s # github.com/smallstep/certificates/authority/provisioner
121s src/github.com/smallstep/certificates/authority/provisioner/aws.go:293:50: jose.Signed(signer).Claims(payload).CompactSerialize undefined (type "github.com/go-jose/go-jose/jwt".Builder has no field or method CompactSerialize)
121s src/github.com/smallstep/certificates/authority/provisioner/azure.go:293:3: unknown field Audience in struct literal of type "go.step.sm/crypto/jose".Expected
121s src/github.com/smallstep/certificates/authority/provisioner/oidc.go:219:3: unknown field Audience in struct literal of type "go.step.sm/crypto/jose".Expected
123s github.com/smallstep/certificates/monitoring

I see some commits (e.g., cddde30af36e238f156bb557bfd1f11a05ffe6f9) that resolve this, but not in any release.

Would you consider making a v0.30.3 fixing compatibility with cli-utils v0.13.0, or some other way to resolve this? I'm currently trying to backport your changes to v0.30.2 but having stable upstream API usage would make my life simpler.

Thanks!

Dominant language
Go
Stars
8.9k
Forks
599
Avg merge
21h 20m
Merged PRs (30d)
15

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from smallstep/certificates

All issues in smallstep/certificates

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.