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

Fulcio client #132

Merged
merged 7 commits into from
Oct 5, 2022
Merged

Fulcio client #132

merged 7 commits into from
Oct 5, 2022

Commits on Sep 30, 2022

  1. Add _async variants of methods using async http client for OIDC flow.

    This supports usage without spawning blocking tasks, at least with actix_rt.
    
    Signed-off-by: Bob McWhirter <bmcwhirt@redhat.com>
    bobmcwhirter committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    fe354ed View commit details
    Browse the repository at this point in the history
  2. Fulcio client capable of creating an ephemeral sigstore signing

    keypair and exchanging the pubkey for a signed certificate.
    
    Signed-off-by: Bob McWhirter <bmcwhirt@redhat.com>
    bobmcwhirter committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    73f91b1 View commit details
    Browse the repository at this point in the history
  3. Clean up a fair bit around the Fulcio client.

    Refactor to allow static or OIDC flow for tokening.
    
    Signed-off-by: Bob McWhirter <bmcwhirt@redhat.com>
    bobmcwhirter committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    3790e58 View commit details
    Browse the repository at this point in the history
  4. Fix clippy warnings.

    Signed-off-by: Bob McWhirter <bmcwhirt@redhat.com>
    bobmcwhirter committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    070a00d View commit details
    Browse the repository at this point in the history
  5. DRY up the redirect-listener and token extraction between sync & async.

    Signed-off-by: Bob McWhirter <bmcwhirt@redhat.com>
    bobmcwhirter committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    a9b9017 View commit details
    Browse the repository at this point in the history
  6. Remove the destructuring of Self.

    Signed-off-by: Bob McWhirter <bmcwhirt@redhat.com>
    bobmcwhirter committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    aee1b6d View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Run cargo fmt on the file.

    Signed-off-by: Bob McWhirter <bmcwhirt@redhat.com>
    bobmcwhirter committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    cbd70a0 View commit details
    Browse the repository at this point in the history