repo
stringlengths
6
47
file_url
stringlengths
77
269
file_path
stringlengths
5
186
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-07 08:35:43
2026-01-07 08:55:24
truncated
bool
2 classes
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/load-generator/latency.go
third-party/github.com/letsencrypt/boulder/test/load-generator/latency.go
package main import ( "encoding/json" "fmt" "os" "time" ) type point struct { Sent time.Time `json:"sent"` Finished time.Time `json:"finished"` Took int64 `json:"took"` PType string `json:"type"` Action string `json:"action"` } type latencyWriter interface { Add(action string, sent, ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/load-generator/state.go
third-party/github.com/letsencrypt/boulder/test/load-generator/state.go
package main import ( "bytes" "context" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/tls" "crypto/x509" "encoding/json" "errors" "fmt" "io" "log" "net" "net/http" "os" "reflect" "runtime" "sort" "strings" "sync" "sync/atomic" "time" "github.com/go-jose/go-jose/v4" "github.com/letsen...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/load-generator/boulder-calls.go
third-party/github.com/letsencrypt/boulder/test/load-generator/boulder-calls.go
package main import ( "crypto" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/sha256" "crypto/x509" "encoding/base64" "encoding/hex" "encoding/json" "encoding/pem" "errors" "fmt" "io" mrand "math/rand/v2" "net/http" "time" "github.com/go-jose/go-jose/v4" "golang.org/x/crypto/ocsp" "github....
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/load-generator/main.go
third-party/github.com/letsencrypt/boulder/test/load-generator/main.go
package main import ( "context" "encoding/json" "flag" "fmt" "os" "strconv" "strings" "time" "github.com/letsencrypt/boulder/cmd" ) type Config struct { // Execution plan parameters Plan struct { Actions []string // things to do Rate int64 // requests / s RateDelta string // requests / s...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/load-generator/acme/directory.go
third-party/github.com/letsencrypt/boulder/test/load-generator/acme/directory.go
// Package acme provides ACME client functionality tailored to the needs of the // load-generator. It is not a general purpose ACME client library. package acme import ( "crypto/tls" "encoding/json" "errors" "fmt" "io" "net" "net/http" "net/url" "time" ) const ( // NewNonceEndpoint is the directory key for ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/load-generator/acme/challenge.go
third-party/github.com/letsencrypt/boulder/test/load-generator/acme/challenge.go
package acme import ( "errors" "fmt" mrand "math/rand/v2" "strings" "github.com/letsencrypt/boulder/core" ) // ChallengeStrategy is an interface describing a strategy for picking // a challenge from a given authorization. type ChallengeStrategy interface { PickChallenge(*core.Authorization) (*core.Challenge, e...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/load-generator/acme/challenge_test.go
third-party/github.com/letsencrypt/boulder/test/load-generator/acme/challenge_test.go
package acme import ( "fmt" "testing" "github.com/letsencrypt/boulder/core" "github.com/letsencrypt/boulder/test" ) func TestNewChallengeStrategy(t *testing.T) { testCases := []struct { Name string InputName string ExpectedError string ExpectedStratType string }{ { Name: ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/load-generator/acme/directory_test.go
third-party/github.com/letsencrypt/boulder/test/load-generator/acme/directory_test.go
package acme import ( "fmt" "net" "net/http" "net/http/httptest" "net/url" "testing" "github.com/letsencrypt/boulder/test" ) // Path constants for test cases and mockDirectoryServer handlers. const ( wrongStatusCodePath = "/dir-wrong-status" invalidJSONPath = "/dir-bad-json" missingEndp...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/pardot-test-srv/main.go
third-party/github.com/letsencrypt/boulder/test/pardot-test-srv/main.go
package main import ( "crypto/rand" "encoding/json" "flag" "fmt" "io" "log" "net/http" "os" "slices" "sync" "time" "github.com/letsencrypt/boulder/cmd" ) var contactsCap = 20 type config struct { // OAuthAddr is the address (e.g. IP:port) on which the OAuth server will // listen. OAuthAddr string /...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/akamai-test-srv/main.go
third-party/github.com/letsencrypt/boulder/test/akamai-test-srv/main.go
package main import ( "context" "encoding/json" "flag" "fmt" "io" "net/http" "sync" "time" "github.com/letsencrypt/boulder/akamai" "github.com/letsencrypt/boulder/cmd" ) func main() { listenAddr := flag.String("listen", "localhost:6789", "Address to listen on") secret := flag.String("secret", "", "Akamai...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/mail-test-srv/http_test.go
third-party/github.com/letsencrypt/boulder/test/mail-test-srv/http_test.go
package main import ( "bytes" "fmt" "io" "net/http" "net/http/httptest" "strconv" "strings" "testing" ) func reqAndRecorder(t testing.TB, method, relativeUrl string, body io.Reader) (*httptest.ResponseRecorder, *http.Request) { endURL := fmt.Sprintf("http://localhost:9381%s", relativeUrl) r, err := http.New...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/mail-test-srv/http.go
third-party/github.com/letsencrypt/boulder/test/mail-test-srv/http.go
package main import ( "fmt" "io" "log" "net/http" "strconv" "strings" ) // filter filters mails based on the To: and From: fields. // The zero value matches all mails. type filter struct { To string From string } func (f *filter) Match(m rcvdMail) bool { if f.To != "" && f.To != m.To { return false } ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/mail-test-srv/main.go
third-party/github.com/letsencrypt/boulder/test/mail-test-srv/main.go
package main import ( "bufio" "bytes" "context" "crypto/tls" "flag" "fmt" "log" "net" "net/http" "net/mail" "regexp" "strings" "sync" "github.com/letsencrypt/boulder/cmd" blog "github.com/letsencrypt/boulder/log" ) type mailSrv struct { closeFirst uint allReceivedMail []rcvdMail allMailMutex ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/vars/vars.go
third-party/github.com/letsencrypt/boulder/test/vars/vars.go
package vars import "fmt" const ( dbURL = "%s@tcp(boulder-proxysql:6033)/%s" ) var ( // DBConnSA is the sa database connection DBConnSA = fmt.Sprintf(dbURL, "sa", "boulder_sa_test") // DBConnSAMailer is the sa mailer database connection DBConnSAMailer = fmt.Sprintf(dbURL, "mailer", "boulder_sa_test") // DBConn...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/test/chall-test-srv-client/client.go
third-party/github.com/letsencrypt/boulder/test/chall-test-srv-client/client.go
package challtestsrvclient import ( "bytes" "crypto/sha256" "encoding/base64" "encoding/json" "fmt" "io" "net/http" "net/url" "strings" ) // Client is an HTTP client for https://github.com/letsencrypt/challtestsrv's // management interface (test/chall-test-srv). type Client struct { baseURL string } // New...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/goodkey/good_key_test.go
third-party/github.com/letsencrypt/boulder/goodkey/good_key_test.go
package goodkey import ( "context" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/rsa" "fmt" "math/big" "testing" "github.com/letsencrypt/boulder/test" ) // testingPolicy is a simple policy which allows all of the key types, so that // the unit tests can exercise checks against all key types. var te...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/goodkey/good_key.go
third-party/github.com/letsencrypt/boulder/goodkey/good_key.go
package goodkey import ( "context" "crypto" "crypto/ecdsa" "crypto/elliptic" "crypto/rsa" "errors" "fmt" "math/big" "sync" "github.com/letsencrypt/boulder/core" "github.com/titanous/rocacheck" ) // To generate, run: primes 2 752 | tr '\n' , var smallPrimeInts = []int64{ 2, 3, 5, 7, 11, 13, 17, 19, 23, 2...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/goodkey/sagoodkey/good_key_test.go
third-party/github.com/letsencrypt/boulder/goodkey/sagoodkey/good_key_test.go
package sagoodkey import ( "context" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "testing" "google.golang.org/grpc" "github.com/letsencrypt/boulder/goodkey" sapb "github.com/letsencrypt/boulder/sa/proto" "github.com/letsencrypt/boulder/test" ) func TestDBBlocklistAccept(t *testing.T) { for _, testCheck...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/goodkey/sagoodkey/good_key.go
third-party/github.com/letsencrypt/boulder/goodkey/sagoodkey/good_key.go
package sagoodkey import ( "context" "google.golang.org/grpc" "github.com/letsencrypt/boulder/goodkey" sapb "github.com/letsencrypt/boulder/sa/proto" ) // BlockedKeyCheckFunc is used to pass in the sa.BlockedKey method to KeyPolicy, // rather than storing a full sa.SQLStorageAuthority. This makes testing // sig...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/wfe2/wfe_test.go
third-party/github.com/letsencrypt/boulder/wfe2/wfe_test.go
package wfe2 import ( "bytes" "context" "crypto" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/rsa" "crypto/x509" "encoding/asn1" "encoding/base64" "encoding/json" "encoding/pem" "errors" "fmt" "io" "math/big" "net/http" "net/http/httptest" "net/url" "os" "reflect" "slices" "sort" "str...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
true
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/wfe2/verify.go
third-party/github.com/letsencrypt/boulder/wfe2/verify.go
package wfe2 import ( "context" "crypto/ecdsa" "crypto/rsa" "encoding/base64" "encoding/json" "errors" "fmt" "io" "net/http" "net/url" "slices" "strconv" "strings" "github.com/go-jose/go-jose/v4" "github.com/prometheus/client_golang/prometheus" "google.golang.org/grpc/status" "github.com/letsencrypt...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
true
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/wfe2/stats.go
third-party/github.com/letsencrypt/boulder/wfe2/stats.go
package wfe2 import ( "github.com/prometheus/client_golang/prometheus" ) type wfe2Stats struct { // httpErrorCount counts client errors at the HTTP level // e.g. failure to provide a Content-Length header, no POST body, etc httpErrorCount *prometheus.CounterVec // joseErrorCount counts client errors at the JOSE ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/wfe2/cache.go
third-party/github.com/letsencrypt/boulder/wfe2/cache.go
package wfe2 import ( "context" "fmt" "sync" "time" "github.com/golang/groupcache/lru" "github.com/jmhodges/clock" corepb "github.com/letsencrypt/boulder/core/proto" sapb "github.com/letsencrypt/boulder/sa/proto" "github.com/prometheus/client_golang/prometheus" "google.golang.org/grpc" "google.golang.org/p...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/wfe2/cache_test.go
third-party/github.com/letsencrypt/boulder/wfe2/cache_test.go
package wfe2 import ( "context" "errors" "testing" "time" "github.com/jmhodges/clock" corepb "github.com/letsencrypt/boulder/core/proto" "github.com/letsencrypt/boulder/metrics" sapb "github.com/letsencrypt/boulder/sa/proto" "github.com/letsencrypt/boulder/test" "google.golang.org/grpc" ) type recordingBac...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/wfe2/wfe.go
third-party/github.com/letsencrypt/boulder/wfe2/wfe.go
package wfe2 import ( "bytes" "context" "crypto/x509" "encoding/base64" "encoding/json" "encoding/pem" "errors" "fmt" "math/big" "math/rand/v2" "net" "net/http" "net/netip" "net/url" "strconv" "strings" "time" "github.com/jmhodges/clock" "github.com/prometheus/client_golang/prometheus" "go.opentel...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
true
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/wfe2/verify_test.go
third-party/github.com/letsencrypt/boulder/wfe2/verify_test.go
package wfe2 import ( "context" "crypto" "crypto/dsa" "crypto/ecdsa" "crypto/elliptic" "crypto/rsa" "errors" "fmt" "net/http" "slices" "strings" "testing" "github.com/prometheus/client_golang/prometheus" "github.com/letsencrypt/boulder/core" corepb "github.com/letsencrypt/boulder/core/proto" berrors ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
true
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/test/response.go
third-party/github.com/letsencrypt/boulder/ocsp/test/response.go
package ocsp_test import ( "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/x509" "crypto/x509/pkix" "math/big" "golang.org/x/crypto/ocsp" ) // FakeResponse signs and then parses an OCSP response, using fields from the input // template. To do so, it generates a new signing key and makes an issuer certi...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/filter_source.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/filter_source.go
package responder import ( "bytes" "context" "crypto" "crypto/sha1" //nolint: gosec // SHA1 is required by the RFC 5019 Lightweight OCSP Profile "crypto/x509/pkix" "encoding/asn1" "encoding/hex" "errors" "fmt" "strings" "github.com/jmhodges/clock" "github.com/prometheus/client_golang/prometheus" "golang....
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/responder_test.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/responder_test.go
/* This code was originally forked from https://github.com/cloudflare/cfssl/blob/1a911ca1b1d6e899bf97dcfa4a14b38db0d31134/ocsp/responder_test.go Copyright (c) 2014 CloudFlare Inc. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/filter_source_test.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/filter_source_test.go
package responder import ( "context" "crypto" "encoding/hex" "os" "testing" "time" "github.com/jmhodges/clock" "github.com/letsencrypt/boulder/core" "github.com/letsencrypt/boulder/issuance" blog "github.com/letsencrypt/boulder/log" "github.com/letsencrypt/boulder/metrics" "github.com/letsencrypt/boulder/...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/source.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/source.go
package responder import ( "context" "golang.org/x/crypto/ocsp" ) // Response is a wrapper around the standard library's *ocsp.Response, but it // also carries with it the raw bytes of the encoded response. type Response struct { *ocsp.Response Raw []byte } // Source represents the logical source of OCSP respon...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/inmem_source.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/inmem_source.go
package responder import ( "context" "encoding/base64" "os" "regexp" blog "github.com/letsencrypt/boulder/log" "golang.org/x/crypto/ocsp" ) // inMemorySource wraps a map from serialNumber to Response and just looks up // Responses from that map with no safety checks. Useful for testing. type inMemorySource str...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/responder.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/responder.go
/* This code was originally forked from https://github.com/cloudflare/cfssl/blob/1a911ca1b1d6e899bf97dcfa4a14b38db0d31134/ocsp/responder.go Copyright (c) 2014 CloudFlare Inc. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/redis/redis_source.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/redis/redis_source.go
// Package redis provides a Redis-based OCSP responder. // // This responder will first look for a response cached in Redis. If there is // no response, or the response is too old, it will make a request to the RA // for a freshly-signed response. If that succeeds, this responder will return // the response to the user...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/redis/checked_redis_source_test.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/redis/checked_redis_source_test.go
package redis import ( "context" "database/sql" "errors" "fmt" "math/big" "testing" "time" "golang.org/x/crypto/ocsp" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/timestamppb" "github.com/letsencrypt/boulder/core" "github.com/letsencrypt/boulder/db" berrors "github.com/letsencrypt/bo...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/redis/checked_redis_source.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/redis/checked_redis_source.go
package redis import ( "context" "errors" "reflect" "sync" "github.com/prometheus/client_golang/prometheus" "golang.org/x/crypto/ocsp" "github.com/letsencrypt/boulder/core" "github.com/letsencrypt/boulder/db" berrors "github.com/letsencrypt/boulder/errors" blog "github.com/letsencrypt/boulder/log" "github...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/redis/redis_source_test.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/redis/redis_source_test.go
package redis import ( "context" "errors" "math/big" "testing" "time" "github.com/jmhodges/clock" "github.com/letsencrypt/boulder/core" "github.com/letsencrypt/boulder/log" "github.com/letsencrypt/boulder/metrics" "github.com/letsencrypt/boulder/ocsp/responder" ocsp_test "github.com/letsencrypt/boulder/ocs...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/live/live.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/live/live.go
package live import ( "context" "errors" capb "github.com/letsencrypt/boulder/ca/proto" "github.com/letsencrypt/boulder/core" berrors "github.com/letsencrypt/boulder/errors" "github.com/letsencrypt/boulder/ocsp/responder" rapb "github.com/letsencrypt/boulder/ra/proto" "github.com/letsencrypt/boulder/semaphore...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ocsp/responder/live/live_test.go
third-party/github.com/letsencrypt/boulder/ocsp/responder/live/live_test.go
package live import ( "context" "errors" "fmt" "math/big" "testing" capb "github.com/letsencrypt/boulder/ca/proto" "github.com/letsencrypt/boulder/core" berrors "github.com/letsencrypt/boulder/errors" "github.com/letsencrypt/boulder/ocsp/responder" ocsp_test "github.com/letsencrypt/boulder/ocsp/test" rapb ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/features/features.go
third-party/github.com/letsencrypt/boulder/features/features.go
// features provides the Config struct, which is used to define feature flags // that can affect behavior across Boulder components. It also maintains a // global singleton Config which can be referenced by arbitrary Boulder code // without having to pass a collection of feature flags through the function // call graph...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/iana/iana_test.go
third-party/github.com/letsencrypt/boulder/iana/iana_test.go
package iana import "testing" func TestExtractSuffix_Valid(t *testing.T) { testCases := []struct { domain, want string }{ // TLD with only 1 rule. {"biz", "biz"}, {"domain.biz", "biz"}, {"b.domain.biz", "biz"}, // The relevant {kobe,kyoto}.jp rules are: // jp // *.kobe.jp // !city.kobe.jp // ky...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/iana/iana.go
third-party/github.com/letsencrypt/boulder/iana/iana.go
package iana import ( "fmt" "github.com/weppos/publicsuffix-go/publicsuffix" ) // ExtractSuffix returns the public suffix of the domain using only the "ICANN" // section of the Public Suffix List database. // If the domain does not end in a suffix that belongs to an IANA-assigned // domain, ExtractSuffix returns a...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/iana/ip_test.go
third-party/github.com/letsencrypt/boulder/iana/ip_test.go
package iana import ( "net/netip" "strings" "testing" ) func TestIsReservedAddr(t *testing.T) { t.Parallel() cases := []struct { ip string want string }{ {"127.0.0.1", "Loopback"}, // second-lowest IP in a reserved /8, common mistaken request {"128.0.0.1", ""}, // second-low...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/iana/ip.go
third-party/github.com/letsencrypt/boulder/iana/ip.go
package iana import ( "bytes" "encoding/csv" "errors" "fmt" "io" "net/netip" "regexp" "slices" "strings" _ "embed" ) type reservedPrefix struct { // addressFamily is "IPv4" or "IPv6". addressFamily string // The other fields are defined in: // https://www.iana.org/assignments/iana-ipv4-special-registry...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/crl.go
third-party/github.com/letsencrypt/boulder/crl/crl.go
package crl import ( "encoding/json" "math/big" "time" "github.com/letsencrypt/boulder/issuance" ) // number represents the 'crlNumber' field of a CRL. It must be constructed by // calling `Number()`. type number *big.Int // Number derives the 'CRLNumber' field for a CRL from the value of the // 'thisUpdate' fi...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/crl_test.go
third-party/github.com/letsencrypt/boulder/crl/crl_test.go
package crl import ( "fmt" "math/big" "testing" "time" "github.com/letsencrypt/boulder/test" ) func TestId(t *testing.T) { thisUpdate := time.Now() out := Id(1337, 1, Number(thisUpdate)) expectCRLId := fmt.Sprintf("{\"issuerID\":1337,\"shardIdx\":1,\"crlNumber\":%d}", big.NewInt(thisUpdate.UnixNano())) test...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/storer/storer.go
third-party/github.com/letsencrypt/boulder/crl/storer/storer.go
package storer import ( "bytes" "context" "crypto/sha256" "crypto/x509" "encoding/base64" "errors" "fmt" "io" "math/big" "slices" "time" "github.com/aws/aws-sdk-go-v2/service/s3" "github.com/aws/aws-sdk-go-v2/service/s3/types" smithyhttp "github.com/aws/smithy-go/transport/http" "github.com/jmhodges/cl...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/storer/storer_test.go
third-party/github.com/letsencrypt/boulder/crl/storer/storer_test.go
package storer import ( "bytes" "context" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/x509" "crypto/x509/pkix" "errors" "io" "math/big" "net/http" "testing" "time" "github.com/aws/aws-sdk-go-v2/service/s3" smithyhttp "github.com/aws/smithy-go/transport/http" "github.com/jmhodges/clock" "go...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/storer/proto/storer_grpc.pb.go
third-party/github.com/letsencrypt/boulder/crl/storer/proto/storer_grpc.pb.go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 // - protoc v3.20.1 // source: storer.proto package proto import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" emptypb "goo...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/storer/proto/storer.pb.go
third-party/github.com/letsencrypt/boulder/crl/storer/proto/storer.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.5 // protoc v3.20.1 // source: storer.proto package proto import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobu...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/checker/checker.go
third-party/github.com/letsencrypt/boulder/crl/checker/checker.go
package checker import ( "bytes" "crypto/x509" "fmt" "math/big" "sort" "time" zlint_x509 "github.com/zmap/zcrypto/x509" "github.com/zmap/zlint/v3" "github.com/letsencrypt/boulder/linter" ) // Validate runs the given CRL through our set of lints, ensures its signature // validates (if supplied with a non-ni...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/checker/checker_test.go
third-party/github.com/letsencrypt/boulder/crl/checker/checker_test.go
package checker import ( "crypto/rand" "crypto/x509" "encoding/pem" "io" "math/big" "os" "testing" "time" "github.com/jmhodges/clock" "github.com/letsencrypt/boulder/core" "github.com/letsencrypt/boulder/issuance" "github.com/letsencrypt/boulder/test" ) func TestValidate(t *testing.T) { crlFile, err :=...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/idp/idp.go
third-party/github.com/letsencrypt/boulder/crl/idp/idp.go
package idp import ( "crypto/x509/pkix" "encoding/asn1" "errors" "fmt" ) var idpOID = asn1.ObjectIdentifier{2, 5, 29, 28} // id-ce-issuingDistributionPoint // issuingDistributionPoint represents the ASN.1 IssuingDistributionPoint // SEQUENCE as defined in RFC 5280 Section 5.2.5. We only use three of the // field...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/idp/idp_test.go
third-party/github.com/letsencrypt/boulder/crl/idp/idp_test.go
package idp import ( "encoding/hex" "testing" "github.com/letsencrypt/boulder/test" ) func TestMakeUserCertsExt(t *testing.T) { t.Parallel() dehex := func(s string) []byte { r, _ := hex.DecodeString(s); return r } tests := []struct { name string urls []string want []byte }{ { name: "one (real) url"...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/updater/batch_test.go
third-party/github.com/letsencrypt/boulder/crl/updater/batch_test.go
package updater import ( "context" "errors" "testing" "time" "github.com/jmhodges/clock" "github.com/letsencrypt/boulder/issuance" blog "github.com/letsencrypt/boulder/log" "github.com/letsencrypt/boulder/metrics" "github.com/letsencrypt/boulder/test" ) func TestRunOnce(t *testing.T) { e1, err := issuance....
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/updater/continuous.go
third-party/github.com/letsencrypt/boulder/crl/updater/continuous.go
package updater import ( "context" "math/rand/v2" "sync" "time" "github.com/letsencrypt/boulder/crl" "github.com/letsencrypt/boulder/issuance" ) // Run causes the crlUpdater to enter its processing loop. It starts one // goroutine for every shard it intends to update, each of which will wake at // the appropri...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/updater/updater_test.go
third-party/github.com/letsencrypt/boulder/crl/updater/updater_test.go
package updater import ( "bytes" "context" "encoding/json" "errors" "fmt" "io" "reflect" "testing" "time" "golang.org/x/crypto/ocsp" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" "google.golang.org/protobuf/types/known/timestamppb" "github.com/jmhodges/clock" "github.com/pr...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/updater/batch.go
third-party/github.com/letsencrypt/boulder/crl/updater/batch.go
package updater import ( "context" "errors" "sync" "github.com/letsencrypt/boulder/crl" "github.com/letsencrypt/boulder/issuance" ) // RunOnce causes the crlUpdater to update every shard immediately, then exit. // It will run as many simultaneous goroutines as the configured maxParallelism. func (cu *crlUpdater...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/crl/updater/updater.go
third-party/github.com/letsencrypt/boulder/crl/updater/updater.go
package updater import ( "context" "crypto/sha256" "errors" "fmt" "io" "math" "slices" "time" "github.com/jmhodges/clock" "github.com/prometheus/client_golang/prometheus" "golang.org/x/crypto/ocsp" "google.golang.org/protobuf/types/known/emptypb" "google.golang.org/protobuf/types/known/timestamppb" cap...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sfe/sfe_test.go
third-party/github.com/letsencrypt/boulder/sfe/sfe_test.go
package sfe import ( "context" "fmt" "net/http" "net/http/httptest" "net/url" "testing" "time" "github.com/jmhodges/clock" "google.golang.org/grpc" "github.com/letsencrypt/boulder/cmd" "github.com/letsencrypt/boulder/features" blog "github.com/letsencrypt/boulder/log" "github.com/letsencrypt/boulder/met...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sfe/sfe.go
third-party/github.com/letsencrypt/boulder/sfe/sfe.go
package sfe import ( "embed" "errors" "fmt" "html/template" "io/fs" "net/http" "net/url" "strconv" "strings" "time" "github.com/go-jose/go-jose/v4/jwt" "github.com/jmhodges/clock" "github.com/prometheus/client_golang/prometheus" "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" "github.c...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/revocation/reasons.go
third-party/github.com/letsencrypt/boulder/revocation/reasons.go
package revocation import ( "fmt" "sort" "strings" "golang.org/x/crypto/ocsp" ) // Reason is used to specify a certificate revocation reason type Reason int // ReasonToString provides a map from reason code to string var ReasonToString = map[Reason]string{ ocsp.Unspecified: "unspecified", ocsp.KeyCom...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/metrics.go
third-party/github.com/letsencrypt/boulder/sa/metrics.go
package sa import ( "database/sql" "github.com/prometheus/client_golang/prometheus" ) type dbMetricsCollector struct { db *sql.DB dbSettings DbSettings maxOpenConns *prometheus.Desc maxIdleConns *prometheus.Desc connMaxLifetime *prometheus.Desc connMaxIdleTime *prometheus.Desc openCon...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/sa_test.go
third-party/github.com/letsencrypt/boulder/sa/sa_test.go
package sa import ( "bytes" "context" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/sha256" "crypto/x509" "database/sql" "encoding/base64" "encoding/json" "errors" "fmt" "io" "math/big" "math/bits" mrand "math/rand/v2" "net/netip" "os" "reflect" "slices" "strconv" "strings" "testing" "...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
true
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/type-converter_test.go
third-party/github.com/letsencrypt/boulder/sa/type-converter_test.go
package sa import ( "encoding/json" "testing" "time" "github.com/letsencrypt/boulder/core" "github.com/letsencrypt/boulder/identifier" "github.com/letsencrypt/boulder/test" "github.com/go-jose/go-jose/v4" ) const JWK1JSON = `{ "kty": "RSA", "n": "vuc785P8lBj3fUxyZchF_uZw6WtbxcorqgTyq-qapF5lrO1U82Tp93rpXl...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/database_test.go
third-party/github.com/letsencrypt/boulder/sa/database_test.go
package sa import ( "context" "database/sql" "errors" "os" "path" "strings" "testing" "time" "github.com/go-sql-driver/mysql" "github.com/letsencrypt/boulder/cmd" "github.com/letsencrypt/boulder/config" "github.com/letsencrypt/boulder/test" "github.com/letsencrypt/boulder/test/vars" ) func TestInvalidDS...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/model.go
third-party/github.com/letsencrypt/boulder/sa/model.go
package sa import ( "context" "crypto/sha256" "crypto/x509" "database/sql" "encoding/base64" "encoding/json" "errors" "fmt" "math" "net/netip" "net/url" "slices" "strconv" "strings" "time" "github.com/go-jose/go-jose/v4" "google.golang.org/protobuf/types/known/durationpb" "google.golang.org/protobuf...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
true
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/database.go
third-party/github.com/letsencrypt/boulder/sa/database.go
package sa import ( "database/sql" "fmt" "time" "github.com/go-sql-driver/mysql" "github.com/prometheus/client_golang/prometheus" "github.com/letsencrypt/borp" "github.com/letsencrypt/boulder/cmd" "github.com/letsencrypt/boulder/core" boulderDB "github.com/letsencrypt/boulder/db" "github.com/letsencrypt/b...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/sysvars.go
third-party/github.com/letsencrypt/boulder/sa/sysvars.go
package sa import ( "fmt" "regexp" ) var ( checkStringQuoteRE = regexp.MustCompile(`^'[0-9A-Za-z_\-=:]+'$`) checkIntRE = regexp.MustCompile(`^\d+$`) checkImproperIntRE = regexp.MustCompile(`^'\d+'$`) checkNumericRE = regexp.MustCompile(`^\d+(\.\d+)?$`) checkBooleanRE = regexp.MustCompile(`^([0-...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/type-converter.go
third-party/github.com/letsencrypt/boulder/sa/type-converter.go
package sa import ( "encoding/json" "errors" "fmt" "time" "github.com/go-jose/go-jose/v4" "github.com/letsencrypt/borp" "github.com/letsencrypt/boulder/core" "github.com/letsencrypt/boulder/identifier" ) // BoulderTypeConverter is used by borp for storing objects in DB. type BoulderTypeConverter struct{} ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/saro.go
third-party/github.com/letsencrypt/boulder/sa/saro.go
package sa import ( "context" "errors" "fmt" "math" "regexp" "strings" "time" "github.com/go-jose/go-jose/v4" "github.com/jmhodges/clock" "github.com/prometheus/client_golang/prometheus" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" "google.golang.org/protobuf/types/known/time...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
true
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/model_test.go
third-party/github.com/letsencrypt/boulder/sa/model_test.go
package sa import ( "context" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/x509" "crypto/x509/pkix" "database/sql" "fmt" "math/big" "net/netip" "testing" "time" "github.com/jmhodges/clock" "google.golang.org/protobuf/types/known/timestamppb" "github.com/letsencrypt/boulder/db" "github.com/l...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/sa.go
third-party/github.com/letsencrypt/boulder/sa/sa.go
package sa import ( "context" "crypto/x509" "database/sql" "encoding/json" "errors" "fmt" "strings" "time" "github.com/go-jose/go-jose/v4" "github.com/jmhodges/clock" "github.com/prometheus/client_golang/prometheus" "golang.org/x/crypto/ocsp" "google.golang.org/protobuf/types/known/emptypb" "google.gola...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
true
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/sysvars_test.go
third-party/github.com/letsencrypt/boulder/sa/sysvars_test.go
package sa import ( "testing" "github.com/letsencrypt/boulder/test" ) func TestCheckMariaDBSystemVariables(t *testing.T) { type testCase struct { key string value string expectErr string } for _, tc := range []testCase{ {"sql_select_limit", "'0.1", "requires a numeric value"}, {"max_stateme...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/proto/sa_grpc.pb.go
third-party/github.com/letsencrypt/boulder/sa/proto/sa_grpc.pb.go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 // - protoc v3.20.1 // source: sa.proto package proto import ( context "context" proto "github.com/letsencrypt/boulder/core/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" statu...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
true
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/proto/subsets.go
third-party/github.com/letsencrypt/boulder/sa/proto/subsets.go
// Copied from the auto-generated sa_grpc.pb.go package proto import ( context "context" proto "github.com/letsencrypt/boulder/core/proto" grpc "google.golang.org/grpc" emptypb "google.golang.org/protobuf/types/known/emptypb" ) // StorageAuthorityCertificateClient is a subset of the sapb.StorageAuthorityClient ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/proto/sa.pb.go
third-party/github.com/letsencrypt/boulder/sa/proto/sa.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.5 // protoc v3.20.1 // source: sa.proto package proto import ( proto "github.com/letsencrypt/boulder/core/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
true
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/sa/satest/satest.go
third-party/github.com/letsencrypt/boulder/sa/satest/satest.go
package satest import ( "context" "testing" "time" "github.com/letsencrypt/boulder/core" corepb "github.com/letsencrypt/boulder/core/proto" sapb "github.com/letsencrypt/boulder/sa/proto" "google.golang.org/protobuf/types/known/timestamppb" ) // CreateWorkingRegistration inserts a new, correct Registration int...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/email/cache.go
third-party/github.com/letsencrypt/boulder/email/cache.go
package email import ( "crypto/sha256" "encoding/hex" "sync" "github.com/golang/groupcache/lru" "github.com/prometheus/client_golang/prometheus" ) type EmailCache struct { sync.Mutex cache *lru.Cache requests *prometheus.CounterVec } func NewHashedEmailCache(maxEntries int, stats prometheus.Registerer) *...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/email/exporter_test.go
third-party/github.com/letsencrypt/boulder/email/exporter_test.go
package email import ( "context" "fmt" "slices" "sync" "testing" "time" emailpb "github.com/letsencrypt/boulder/email/proto" blog "github.com/letsencrypt/boulder/log" "github.com/letsencrypt/boulder/metrics" "github.com/letsencrypt/boulder/test" "github.com/prometheus/client_golang/prometheus" ) var ctx ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/email/pardot.go
third-party/github.com/letsencrypt/boulder/email/pardot.go
package email import ( "bytes" "encoding/json" "fmt" "io" "net/http" "net/url" "sync" "time" "github.com/jmhodges/clock" "github.com/letsencrypt/boulder/core" ) const ( // tokenPath is the path to the Salesforce OAuth2 token endpoint. tokenPath = "/services/oauth2/token" // contactsPath is the path to ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/email/exporter.go
third-party/github.com/letsencrypt/boulder/email/exporter.go
package email import ( "context" "errors" "sync" "github.com/prometheus/client_golang/prometheus" "golang.org/x/time/rate" "google.golang.org/protobuf/types/known/emptypb" "github.com/letsencrypt/boulder/core" emailpb "github.com/letsencrypt/boulder/email/proto" berrors "github.com/letsencrypt/boulder/error...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/email/pardot_test.go
third-party/github.com/letsencrypt/boulder/email/pardot_test.go
package email import ( "encoding/json" "fmt" "io" "net/http" "net/http/httptest" "testing" "time" "github.com/jmhodges/clock" "github.com/letsencrypt/boulder/test" ) func defaultTokenHandler(w http.ResponseWriter, r *http.Request) { err := json.NewEncoder(w).Encode(oauthTokenResp{ AccessToken: "dummy", ...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/email/proto/exporter.pb.go
third-party/github.com/letsencrypt/boulder/email/proto/exporter.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.5 // protoc v3.20.1 // source: exporter.proto package proto import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/proto...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/email/proto/exporter_grpc.pb.go
third-party/github.com/letsencrypt/boulder/email/proto/exporter_grpc.pb.go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 // - protoc v3.20.1 // source: exporter.proto package proto import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" emptypb "g...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ca/ocsp.go
third-party/github.com/letsencrypt/boulder/ca/ocsp.go
package ca import ( "context" "fmt" "strings" "sync" "time" "github.com/jmhodges/clock" "github.com/prometheus/client_golang/prometheus" "golang.org/x/crypto/ocsp" capb "github.com/letsencrypt/boulder/ca/proto" "github.com/letsencrypt/boulder/core" berrors "github.com/letsencrypt/boulder/errors" "github....
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ca/ca_test.go
third-party/github.com/letsencrypt/boulder/ca/ca_test.go
package ca import ( "context" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/x509" "crypto/x509/pkix" "encoding/asn1" "errors" "fmt" "math/big" mrand "math/rand" "os" "strings" "testing" "time" ct "github.com/google/certificate-transparency-go" cttls "github.com/google/certificate-transparenc...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
true
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ca/ca.go
third-party/github.com/letsencrypt/boulder/ca/ca.go
package ca import ( "bytes" "context" "crypto" "crypto/rand" "crypto/sha256" "crypto/x509" "crypto/x509/pkix" "encoding/asn1" "encoding/hex" "errors" "fmt" "math/big" mrand "math/rand/v2" "time" ct "github.com/google/certificate-transparency-go" cttls "github.com/google/certificate-transparency-go/tls...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ca/crl.go
third-party/github.com/letsencrypt/boulder/ca/crl.go
package ca import ( "crypto/sha256" "crypto/x509" "errors" "fmt" "io" "strings" "google.golang.org/grpc" "github.com/prometheus/client_golang/prometheus" capb "github.com/letsencrypt/boulder/ca/proto" "github.com/letsencrypt/boulder/core" corepb "github.com/letsencrypt/boulder/core/proto" bcrl "github.c...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ca/ocsp_test.go
third-party/github.com/letsencrypt/boulder/ca/ocsp_test.go
package ca import ( "context" "crypto/x509" "encoding/hex" mrand "math/rand" "testing" "time" "golang.org/x/crypto/ocsp" capb "github.com/letsencrypt/boulder/ca/proto" "github.com/letsencrypt/boulder/core" "github.com/letsencrypt/boulder/issuance" blog "github.com/letsencrypt/boulder/log" "github.com/let...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ca/crl_test.go
third-party/github.com/letsencrypt/boulder/ca/crl_test.go
package ca import ( "crypto/x509" "fmt" "io" "testing" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/timestamppb" capb "github.com/letsencrypt/boulder/ca/proto" corepb "github.com/letsencrypt/boulder/core/proto" "github.com/letsencrypt/boulder/test" ) type mockGenerateCRLBidiStream struc...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ca/proto/ca.pb.go
third-party/github.com/letsencrypt/boulder/ca/proto/ca.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.5 // protoc v3.20.1 // source: ca.proto package proto import ( proto "github.com/letsencrypt/boulder/core/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ca/proto/ca_grpc.pb.go
third-party/github.com/letsencrypt/boulder/ca/proto/ca_grpc.pb.go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 // - protoc v3.20.1 // source: ca.proto package proto import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" ) // This is a c...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/ca/testdata/testcsr.go
third-party/github.com/letsencrypt/boulder/ca/testdata/testcsr.go
// Hack up the x509.CertificateRequest in here, run `go run testcsr.go`, and a // DER-encoded CertificateRequest will be printed to stdout. package main import ( "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/x509" "crypto/x509/pkix" "log" "os" ) func main() { priv, err := ecdsa.GenerateKey(elliptic.P...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/grpc/skew.go
third-party/github.com/letsencrypt/boulder/grpc/skew.go
//go:build !integration package grpc import "time" // tooSkewed returns true if the absolute value of the input duration is more // than ten minutes. We break this out into a separate function so that it can // be disabled in the integration tests, which make extensive use of fake // clocks. func tooSkewed(skew time...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/grpc/errors_test.go
third-party/github.com/letsencrypt/boulder/grpc/errors_test.go
package grpc import ( "context" "errors" "fmt" "net" "testing" "time" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" "github.com/jmhodges/clock" berrors "github.com/letsencrypt/boulder/errors" "github.com/letsencrypt/boulder/grpc/test_proto" "github.com/letsencrypt/boulder/identi...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/grpc/client.go
third-party/github.com/letsencrypt/boulder/grpc/client.go
package grpc import ( "crypto/tls" "errors" "fmt" grpc_prometheus "github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus" "github.com/jmhodges/clock" "github.com/prometheus/client_golang/prometheus" "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc" "google.golang.org/gr...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/grpc/server_test.go
third-party/github.com/letsencrypt/boulder/grpc/server_test.go
package grpc import ( "context" "errors" "testing" "time" blog "github.com/letsencrypt/boulder/log" "github.com/letsencrypt/boulder/test" "google.golang.org/grpc/health" ) func TestServerBuilderInitLongRunningCheck(t *testing.T) { t.Parallel() hs := health.NewServer() mockLogger := blog.NewMock() sb := &s...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/grpc/errors.go
third-party/github.com/letsencrypt/boulder/grpc/errors.go
package grpc import ( "context" "encoding/json" "errors" "fmt" "strconv" "time" "google.golang.org/grpc" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" berrors "github.com/letsencrypt/boulder/errors" ) // wrapError wraps the internal error types we use for transport across the gRPC // l...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false
cli/cli
https://github.com/cli/cli/blob/c534a758887878331dda780aeb696b113f37b4ab/third-party/github.com/letsencrypt/boulder/grpc/pb-marshalling_test.go
third-party/github.com/letsencrypt/boulder/grpc/pb-marshalling_test.go
package grpc import ( "encoding/json" "net/netip" "testing" "time" "github.com/go-jose/go-jose/v4" "google.golang.org/protobuf/types/known/timestamppb" "github.com/letsencrypt/boulder/core" corepb "github.com/letsencrypt/boulder/core/proto" "github.com/letsencrypt/boulder/identifier" "github.com/letsencryp...
go
MIT
c534a758887878331dda780aeb696b113f37b4ab
2026-01-07T08:35:47.579368Z
false