Version
2.16.0
Bug description
I have a simple SshServer and SshClient that use EC P12s for connection. When I do not include BC FIPS, the server and client work with these certificates. When I use BC FIPS, the PublicKey I am getting from the PublicKeyAuthenticator callback getEncoded is wildly incorrect. Its about 3 times the size it should be. One oddity is it has several forward slashes in it. For reference these are EC secp521 P12s.
I'm at a loss trying to figure out why these are so different.
This is my first time entering a bug so I'm not sure what else to add to the issue. I can provide code snippets or whatever is needed.
I have tried several version of BC FIPS. Nothing in the debug logs stands out.
Actual behavior
Output with BC FIPS:
Incoming key: MIICRjCCAbkGByqGSM49AgEwggGsAgEBME0GByqGSM49AQECQgH//////////////////////////////////////////////////////////////////////////////////////zCBiARCAf/////////////////////////////////////////////////////////////////////////////////////8BEIAUZU+uWGOHJofkpohoLaFQO6i2nJbmbMV87i0iZGO8QnhVhk5Uex+k3sWUsC9O7G/BzVz34g9LDTx70Uf1GtQPwAEgYUEAMaFjga3BATpzZ4+y2YjlbRCnGSBOQU/tSH4KK9ga009uqFLXnfv51ko/h3BJ6L/qN4zSLPBhWpCm/l+fjHC5b1mARg5KWp4mjvABFyKX7QsfRvZmPVESVebRGgXr70XJz5mLJfucple9CZAxVC5AT+tB2E1PHCGonLCQIi+lHaf0WZQAkIB///////////////////////////////////////////6UYaHg78vlmt/zAFI9wml0Du1ybiJnEeuu2+3HpE4ZAkCAQEDgYYABAF/zUj6C5ZmfvPaogIyQNkCgMFZ7X8Xf31JyXFOChwP85QryiGTFjnIG3gWtYaFC3u8gRCFn2ldhAtpbYVKm+fCGAEacXYp4CPbeA+9xswDZxvZslqLMUHqOV5jlEmyq4TxnqQLHBPZ7RkmHxAhjgfjirRRPdYu6cmKesk+SRIk3jEdXA==
Expected behavior
Output without BC FIPS:
Incoming key: MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBf81I+guWZn7z2qICMkDZAoDBWe1/F399SclxTgocD/OUK8ohkxY5yBt4FrWGhQt7vIEQhZ9pXYQLaW2FSpvnwhgBGnF2KeAj23gPvcbMA2cb2bJaizFB6jleY5RJsquE8Z6kCxwT2e0ZJh8QIY4H44q0UT3WLunJinrJPkkSJN4xHVw=
Relevant log output
Other information
No response
Version
2.16.0
Bug description
I have a simple SshServer and SshClient that use EC P12s for connection. When I do not include BC FIPS, the server and client work with these certificates. When I use BC FIPS, the PublicKey I am getting from the PublicKeyAuthenticator callback
getEncodedis wildly incorrect. Its about 3 times the size it should be. One oddity is it has several forward slashes in it. For reference these are EC secp521 P12s.I'm at a loss trying to figure out why these are so different.
This is my first time entering a bug so I'm not sure what else to add to the issue. I can provide code snippets or whatever is needed.
I have tried several version of BC FIPS. Nothing in the debug logs stands out.
Actual behavior
Output with BC FIPS:
Expected behavior
Output without BC FIPS:
Relevant log output
Other information
No response