HelloZeroNet / HelloZeroNet/ZeroNet

Disable insecure SSL cryptos

オープン
#830 コメント 5 件 リアクション 6 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
18.8k
フォーク
2.3k
PR マージ指標
30日以内にマージされた PR はありません

説明

The default settings of `ssl` module are not considered the most secure, so Python Software Foundation wrote some [security considerations](https://docs.python.org/2/library/ssl.html#security-considerations).

According to the security considerations, SSLv2 and SSLv3 "are considered insecure and are therefore dangerous to use." The documentation provides a code snippet to disable SSLv2 and SSLv3.

```python
context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
context.options |= ssl.OP_NO_SSLv2
context.options |= ssl.OP_NO_SSLv3
```

The current SSL patch in ZeroNet redirects `PROTOCOL_SSLv3` to `PROTOCOL_SSLv23` when SSLv3 is not available. Why not redirect `PROTOCOL_SSLv3` and `PROTOCOL_SSLv2` to `PROTOCOL_SSLv23` by default?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。