Skip to content

Updating ssh-agent-lib. #361

Description

@plugwash

As part of my Debian packaging efforts I took a look at updating rbw to use ssh-agent-lib 0.6 (I thought this was a blocker for another update I wanted to do, though it turned out not to be)

When attempting to build rbw against the new version of ssh-agent-lib, I ran into an API change. The "pubkey" fields in the Identity and SignRequest structures has been replaced by a "crediential" field. This field is an enum that can hold either a plain public key or a certificate.

I modified the code so that when creating an Identity it uses the enum variant for a plain public key, and when breaking up a sign request it extracts the public key from the certificate if needed. With this patch the package builds and the tests pass, but I'd appreciate any further feedback.

ssh-agent-lib-0.6.patch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions