Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
  • Loading branch information
haydentherapper committed Jan 11, 2023
1 parent e0f4414 commit b9caf7c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/cosign/cli/fulcio/fulcio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,6 @@ func TestNewSigner(t *testing.T) {
if err != nil {
t.Fatal(err)
}
// ecdsaKey, _ := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
// privKeyBytes, _ := x509.MarshalPKCS8PrivateKey(ecdsaKey)
// pemKey := pem.EncodeToMemory(&pem.Block{Type: "ENCRYPTED COSIGN PRIVATE KEY", Bytes: privKeyBytes})
td := t.TempDir()
keyPath := filepath.Join(td, "key")
if err := os.WriteFile(keyPath, keys.PrivateBytes, 0644); err != nil {
Expand Down

0 comments on commit b9caf7c

Please sign in to comment.