Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-09-30 16:50:14 +02:00
parent 20b0d639ac
commit de8778dbfe
3 changed files with 6 additions and 8 deletions

View File

@@ -9,4 +9,4 @@
"ocspResponderURL": "",
"externalAccountBindingRequired": false
}
}
}

View File

@@ -12,7 +12,6 @@
// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
// Package keys provides utilities for generating cryptographic keys
package keys
import (
@@ -24,7 +23,6 @@ import (
"fmt"
)
// Type represents the type of cryptographic key
type Type string
const (

View File

@@ -75,10 +75,10 @@ func TestEncodeCertificate(t *testing.T) {
func TestEncodePrivateKey(t *testing.T) {
tests := []struct {
name string
generateKey func() (crypto.Signer, error)
expectedType string
parseFunc func([]byte) (crypto.Signer, error)
name string
generateKey func() (crypto.Signer, error)
expectedType string
parseFunc func([]byte) (crypto.Signer, error)
}{
{
name: "ECDSA P256",
@@ -337,4 +337,4 @@ func mustGenerateKey(gen func() (crypto.Signer, error)) crypto.Signer {
panic(err)
}
return key
}
}