Andrew Lee <[email protected]> writes:

> Hello Simon,
>
> I think this line explains:
>     
> https://salsa.debian.org/jas/opkssh/-/blob/debian/latest/go.mod?ref_type=heads#L11
>
> We need to bring golang-github-lestrrat-go-jwx v2 back in a different
> versioned package name.

Opkssh has been ported to go-jwx v3, Mathias worked on completing that
for the packages that were stuck on v2:

https://salsa.debian.org/go-team/packages/opkssh/-/blob/debian/latest/debian/patches/use-lestrrat-go-jwx-v3.patch?ref_type=heads

See earlier discussion in https://bugs.debian.org/1121273

So it is a matter of finishing up that porting patch.  The goal is to
avoid a go-jwx v2 package in Debian.

/Simon

> Best regards,
> -Andrew
>
> On Sun, Feb 15, 2026 at 10:26 PM Simon Josefsson <[email protected]> wrote:
>>
>> Hi Mathias,
>>
>> Many thanks for preparing the patches for go-jwx v3.
>>
>> With lestrrat-go-dsig out of NEW, I have made some uploads, but I have
>> not managed to get recent opkssh versions to work, so testing migration
>> is stalled for a couple of packages now.
>>
>> I'm out of Go knowledge here.  Could you (or anyone else, cc'ing
>> debian-go) take a look?  Feel free to push to the repository and/or make
>> uploads, I won't touch it more right now.
>>
>> https://tracker.debian.org/pkg/opkssh
>> https://salsa.debian.org/go-team/packages/opkssh
>>
>> Upstream bug report: https://github.com/openpubkey/opkssh/issues/475
>>
>> Error is https://salsa.debian.org/jas/opkssh/-/jobs/9057672
>>
>> # github.com/openpubkey/opkssh/commands
>> src/github.com/openpubkey/opkssh/commands/login.go:441:33: cannot
>> use alg (variable of struct type jwa.SignatureAlgorithm) as
>> "github.com/openpubkey/openpubkey/jose".KeyAlgorithm value in
>> argument to util.GenKeyPair
>> src/github.com/openpubkey/opkssh/commands/login.go:446:67: cannot
>> use alg (variable of struct type jwa.SignatureAlgorithm) as
>> "github.com/openpubkey/openpubkey/jose".KeyAlgorithm value in
>> argument to client.WithSigner
>>
>> /Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to