Skip to content

Proxy Implementation #219

@matteoraf

Description

@matteoraf

Hi
I started working on an SCEP to SCEP proxy implementation.

I actually just put together existing bits from the scepclient into a proxy_signer.
I don't feel confident in submitting a PR right now, since it's my very first time working with go, but I forked your repo and worked on it here.

The proxy is working as expected, but I feel that a look from a more experienced go dev might be worth.

There are a couple of things that I wasn't able to do:

  1. Using a separate challenge for the proxy
    That (I believe) is due to having the ChallengePassword written into the CSR which must be signed by the client with its own key.
    I don't think there's any workaround to this, but I'd be happy to find out that there is.

  2. Passing over the PKIMessage.MessageType
    That would require changing the whole scepserver implementation by adding some kind of hook around here.
    The CSRSigner of course only gets the CSRReqMessage, as it is meant to handle the Signing of the certificate and not other stuff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions