go x/crypto/ssh: 测试使用错误口令解析加密私钥失败

zz2j4svz  于 6个月前  发布在  Go
关注(0)|答案(7)|浏览(54)
#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"

自动创建的问题以收集这些故障。
示例( log ):

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.03s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

bfhwhh0e

bfhwhh0e1#

找到新的 Jmeter 板测试碎片:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"

2024-03-18 09:27 linux-ppc64-sid-power10 crypto@b91329d9 go@b37fb8c6 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.03s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

wb1gzix0

wb1gzix02#

找到了新的 Jmeter 板测试碎片:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"

2024-03-18 09:27 linux-ppc64-sid-buildlet crypto@b91329d9 go@4c2b1e0f x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.13s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64-sid-power10 crypto@b91329d9 go@4c2b1e0f x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.05s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-buildlet crypto@b91329d9 go@4c2b1e0f x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.06s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-power10osu crypto@b91329d9 go@4c2b1e0f x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.10s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-power9osu crypto@b91329d9 go@4c2b1e0f x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

blmhpbnm

blmhpbnm3#

找到新的 Jmeter 板测试碎片:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"

2024-03-18 09:27 linux-ppc64-sid-buildlet crypto@b91329d9 go@1e12eab8 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

d7v8vwbk

d7v8vwbk4#

在2024年3月18日09:27,发现了新的 Jmeter 板测试用例:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"

2024-03-18 09:27 linux-ppc64-sid-power10 crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64-sid-power10 crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64-sid-power10 crypto@b91329d9 go@3fefec96 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.02s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-buildlet crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.10s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-buildlet crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.06s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-buildlet crypto@b91329d9 go@3fefec96 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.07s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-power10osu crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.08s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-power10osu crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-power10osu crypto@b91329d9 go@3fefec96 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.03s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-power9osu crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.06s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-power9osu crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64le-power9osu crypto@b91329d9 go@3fefec96 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )
x

vsnjm48y

vsnjm48y5#

找到了新的 Jmeter 板测试碎片:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"

2024-03-18 09:27 linux-ppc64-sid-buildlet crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.11s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64-sid-buildlet crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.15s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 linux-ppc64-sid-buildlet crypto@b91329d9 go@3fefec96 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.06s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

wvmv3b1j

wvmv3b1j6#

这些错误是由于在Go commit 2c150f4中引入的回归并在d3e5e9f中修复。在这两个提交之间构建任何Go工具链并用于构建此测试都会导致这些失败。

rhfm7lfc

rhfm7lfc7#

找到了新的 Jmeter 板测试碎片:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"

2024-03-18 09:27 aix-ppc64 crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.03s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

2024-03-18 09:27 aix-ppc64 crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase ( log )

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.03s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

相关问题