<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/contrib/epee/src/net_ssl.cpp, branch v0.14.1.0</title>
<subtitle>Monzero core node, command-line wallet, consensus code, and release tooling.
</subtitle>
<id>https://code.monzero.org/monzero-core.git/atom?h=v0.14.1.0</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.14.1.0'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2019-05-10T00:16:49Z</updated>
<entry>
<title>net_ssl: free certs after setting them up</title>
<updated>2019-05-10T00:16:49Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-05-10T00:16:07Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=9a7a453f258425e4958de45c1db35a9094ec9c35'/>
<id>urn:sha1:9a7a453f258425e4958de45c1db35a9094ec9c35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net_ssl: SSL config tweaks for compatibility and security</title>
<updated>2019-05-07T10:01:42Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-05-01T22:01:53Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=a62e0725715a7ce2bacf0487379130a402c7a3dd'/>
<id>urn:sha1:a62e0725715a7ce2bacf0487379130a402c7a3dd</id>
<content type='text'>
add two RSA based ciphers for Windows/depends compatibility
also enforce server cipher ordering
also set ECDH to auto because vtnerd says it is good :)

When built with the depends system, openssl does not include any
cipher on the current whitelist, so add this one, which fixes the
problem, and does seem sensible.
</content>
</entry>
<entry>
<title>change SSL certificate fingerprint whitelisting from SHA1 to SHA-256</title>
<updated>2019-04-26T11:37:15Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-04-25T16:35:27Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=5e0da6fb68446612844970be1e862f0e5bc25183'/>
<id>urn:sha1:5e0da6fb68446612844970be1e862f0e5bc25183</id>
<content type='text'>
SHA1 is too close to bruteforceable
</content>
</entry>
<entry>
<title>Enabling daemon-rpc SSL now requires non-system CA verification</title>
<updated>2019-04-07T17:02:43Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2019-04-07T01:28:37Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=2e578b8214b8b47d7ddefceb1cbf2d8129e85a5a'/>
<id>urn:sha1:2e578b8214b8b47d7ddefceb1cbf2d8129e85a5a</id>
<content type='text'>
If `--daemon-ssl enabled` is set in the wallet, then a user certificate,
fingerprint, or onion/i2p address must be provided.
</content>
</entry>
<entry>
<title>Require manual override for user chain certificates.</title>
<updated>2019-04-07T04:44:37Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2019-04-04T17:35:33Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=d58f368289709e0869c9b7927778339670cb85a7'/>
<id>urn:sha1:d58f368289709e0869c9b7927778339670cb85a7</id>
<content type='text'>
An override for the wallet to daemon connection is provided, but not for
other SSL contexts. The intent is to prevent users from supplying a
system CA as the "user" whitelisted certificate, which is less secure
since the key is controlled by a third party.
</content>
</entry>
<entry>
<title>Only check top-level certificate against fingerprint list.</title>
<updated>2019-04-07T04:44:37Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2019-04-04T05:48:55Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=97cd1fa98d58fa354ebbade47e894f169ee0c1e2'/>
<id>urn:sha1:97cd1fa98d58fa354ebbade47e894f169ee0c1e2</id>
<content type='text'>
This allows "chain" certificates to be used with the fingerprint
whitelist option. A user can get a system-ca signature as backup while
clients explicitly whitelist the server certificate. The user specified
CA can also be combined with fingerprint whitelisting.
</content>
</entry>
<entry>
<title>Call `use_certificate_chain_file` instead of `use_certificate_file`</title>
<updated>2019-04-07T04:44:37Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2019-03-20T05:26:36Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=7c388fb3586a1600d1898a6fb6398c675d4bd562'/>
<id>urn:sha1:7c388fb3586a1600d1898a6fb6398c675d4bd562</id>
<content type='text'>
The former has the same behavior with single self signed certificates
while allowing the server to have separate short-term authentication
keys with long-term authorization keys.
</content>
</entry>
<entry>
<title>Perform RFC 2818 hostname verification in client SSL handshakes</title>
<updated>2019-04-07T04:44:37Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2019-03-19T20:04:32Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=eca0fea45a1fe2eb359c6fff5f5701e0b2fcdc5a'/>
<id>urn:sha1:eca0fea45a1fe2eb359c6fff5f5701e0b2fcdc5a</id>
<content type='text'>
If the verification mode is `system_ca`, clients will now do hostname
verification. Thus, only certificates from expected hostnames are
allowed when SSL is enabled. This can be overridden by forcible setting
the SSL mode to autodetect.

Clients will also send the hostname even when `system_ca` is not being
performed. This leaks possible metadata, but allows servers providing
multiple hostnames to respond with the correct certificate. One example
is cloudflare, which getmonero.org is currently using.
</content>
</entry>
<entry>
<title>Require server verification when SSL is enabled.</title>
<updated>2019-04-07T04:44:37Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2019-03-18T02:06:36Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=0416764caec5b2d504c820e71d74a4934c3e2c3e'/>
<id>urn:sha1:0416764caec5b2d504c820e71d74a4934c3e2c3e</id>
<content type='text'>
If SSL is "enabled" via command line without specifying a fingerprint or
certificate, the system CA list is checked for server verification and
_now_ fails the handshake if that check fails. This change was made to
remain consistent with standard SSL/TLS client behavior. This can still
be overridden by using the allow any certificate flag.

If the SSL behavior is autodetect, the system CA list is still checked
but a warning is logged if this fails. The stream is not rejected
because a re-connect will be attempted - its better to have an
unverified encrypted stream than an unverified + unencrypted stream.
</content>
</entry>
<entry>
<title>Add `verify_fail_if_no_cert` option for proper client authentication</title>
<updated>2019-04-07T04:44:37Z</updated>
<author>
<name>Lee Clagett</name>
<email>code@leeclagett.com</email>
</author>
<published>2019-03-17T20:11:42Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=96d602ac84d856c26a9065bfccbe2b98237db271'/>
<id>urn:sha1:96d602ac84d856c26a9065bfccbe2b98237db271</id>
<content type='text'>
Using `verify_peer` on server side requests a certificate from the
client. If no certificate is provided, the server silently accepts the
connection and rejects if the client sends an unexpected certificate.
Adding `verify_fail_if_no_cert` has no affect on client and for server
requires that the peer sends a certificate or fails the handshake. This
is the desired behavior when the user specifies a fingerprint or CA file.
</content>
</entry>
</feed>
