summaryrefslogtreecommitdiff
path: root/vendor/github.com/smallstep/certificates/scep/provisioner.go
diff options
context:
space:
mode:
authorFelix Hanley <felix@userspace.com.au>2025-08-28 01:38:06 +0000
committerFelix Hanley <felix@userspace.com.au>2025-08-28 01:38:06 +0000
commit02e6f97cd04cbcd7505e1da9a781df4321463640 (patch)
tree08d3d2317cdab4885d7c9830ed7983fecfb9fb4a /vendor/github.com/smallstep/certificates/scep/provisioner.go
parentfaa33e32b5e967fdfeac96bfc39ed3d94f9514ac (diff)
downloadcaddy-02e6f97cd04cbcd7505e1da9a781df4321463640.tar.gz
caddy-02e6f97cd04cbcd7505e1da9a781df4321463640.tar.bz2
Attempt to stop AI bots using Anubis
Diffstat (limited to 'vendor/github.com/smallstep/certificates/scep/provisioner.go')
-rw-r--r--vendor/github.com/smallstep/certificates/scep/provisioner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/smallstep/certificates/scep/provisioner.go b/vendor/github.com/smallstep/certificates/scep/provisioner.go
index 3df4b36..35821d8 100644
--- a/vendor/github.com/smallstep/certificates/scep/provisioner.go
+++ b/vendor/github.com/smallstep/certificates/scep/provisioner.go
@@ -20,7 +20,7 @@ type Provisioner interface {
GetDecrypter() (*x509.Certificate, crypto.Decrypter)
GetSigner() (*x509.Certificate, crypto.Signer)
GetContentEncryptionAlgorithm() int
- ValidateChallenge(ctx context.Context, csr *x509.CertificateRequest, challenge, transactionID string) error
+ ValidateChallenge(ctx context.Context, csr *x509.CertificateRequest, challenge, transactionID string) ([]provisioner.SignCSROption, error)
NotifySuccess(ctx context.Context, csr *x509.CertificateRequest, cert *x509.Certificate, transactionID string) error
NotifyFailure(ctx context.Context, csr *x509.CertificateRequest, transactionID string, errorCode int, errorDescription string) error
}