-
Notifications
You must be signed in to change notification settings - Fork 136
Description
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:
-
Using a separate challenge for the proxy
That (I believe) is due to having theChallengePasswordwritten 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. -
Passing over the PKIMessage.MessageType
That would require changing the wholescepserverimplementation 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.