crypto
crypto copied to clipboard
[mirror] Go supplementary cryptography libraries
Fixes https://github.com/golang/go/issues/38978
- add ErrPartialSuccess. Authentication callbacks must return this error for multi-step authentication when a specific authentication step succeed - add PartialSuccessMethods to ConnMetadata interface, it returns the ordered list of...
* Tests the OCSP ResponseStatus cases * Define `var ocspExtensionOID = asn1.ObjectIdentifier..` as integer slice literal just like `var idPKIXOCSPBasic = asn1.ObjectIdentifier(` in `ocsp.go`
This adds support for ExternalAccountBindings into the `crypto/acme` client. It is based on section 7.3.4 of RFC8555: https://tools.ietf.org/html/rfc8555#section-7.3.4 I have tested this against Pebble with support for EABs https://github.com/letsencrypt/pebble/pull/288 as...
The existing implementation does not comply with OpenSSH, where some requests is sent without wantReply flag. [email protected]: https://github.com/openssh/openssh-portable/blob/V_8_0_P1/ssh.c#L1815 (wantconfirm=0) env: https://github.com/openssh/openssh-portable/blob/V_8_0_P1/clientloop.c#L2299 cancel-tcpip-forward: https://github.com/openssh/openssh-portable/blob/V_8_0_P1/channels.c#L565 [email protected]: https://github.com/openssh/openssh-portable/blob/V_8_0_P1/channels.c#L4017
Calling IDKey or Key functions using 0 as KeyLen panics. This change fixes this error by returning an empty byte slice. Fixes golang/go#33583
This BCrypt implementation supports a maximum password length of 72 characters. This was not documented prior which is resolved with this PR.