MCPcopy Create free account
hub / github.com/Scalingo/cli / pemDecode

Function pemDecode

crypto/sshkeys/private_key_test.go:11–14  ·  view source on GitHub ↗
(keyToDecode []byte)

Source from the content-addressed store, hash-verified

9)
10
11func pemDecode(keyToDecode []byte) *pem.Block {
12 block, _ := pem.Decode(keyToDecode)
13 return block
14}
15
16func TestPrivateKey_IsEncrypted(t *testing.T) {
17 cases := []struct {

Callers 2

TestPrivateKey_signerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected