CircleCI users with Go projects on GitHub may encounter an error unrelated to their code upon using the default ".circleci/config.yml" template. This error includes the message:
agent key RSA SHA256: ... returned incorrect signature type
This warning indicates an issue with the SSH agent's signature type during SSH connection negotiation. While not inherently fatal, the remote server may reject the connection if it does not support SHA-1 signatures.
The warning occurs because the SSH connection negotiated an RSA key with a different signature algorithm (SHA-256 or SHA-512), but the SSH agent provided an SHA-1 signature, which violates the agent protocol.
The second error message, originating from Git, indicates that a git pull command is being attempted without a remote configured for the branch. This typically occurs when using go get on an existing repository, which attempts to update the repository.
Incorrect Signature Type Warning:
Git Branch Error:
The above is the detailed content of Why Am I Getting \'Incorrect Signature Type\' and Git Branch Errors in CircleCI with Go Projects?. For more information, please follow other related articles on the PHP Chinese website!