Shireesh Anjal
28f44cb9a0
Read new key license_v2 from SUBNET response ( #4788 )
...
SUBNET now has a v2 license that is returned in the new key
`license_v2`. mc will start reading and storing the same.
2023-12-13 20:46:56 -08:00
Sveinn
b82f6c60b2
Removing un-used variables and fixing an error condition ( #4737 )
2023-10-30 08:43:44 -07:00
Harshavardhana
34a67cb169
cleanup mc to use 'go' errs to be 'e' ( #4450 )
2023-01-24 02:03:57 -08:00
Anis Elleuch
6c0d5e4b65
alias: Enable self signed TLS prompt in darwin platforms ( #4094 )
...
Not trusted TLS error message has another string representation in
Darwin platform. Since there is no another way to test for this specific
error with Golang API, we will need to support this alternate error message.
2022-05-23 06:36:11 -07:00
Harshavardhana
83d81ea590
fix: SubKeyId may not be same AuthorityKeyId for self-signed CA ( #4093 )
...
In situations when cert is its own CA the SubKeyId is not
same as AuthorityKeyId
Refer
https://cs.opensource.google/go/go/+/refs/tags/go1.18.2:src/crypto/x509/x509.go;l=1525
This PR handles this by validating the SubKeyId with correct value
that is expected, extends the current TOFU style.
2022-05-23 05:13:20 -07:00