Skip to content

work on ssl #801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions library/ssl.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-25 06:20+0000\n"
"PO-Revision-Date: 2024-01-09 10:47+0800\n"
"PO-Revision-Date: 2024-01-15 15:49+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand Down Expand Up @@ -780,24 +780,31 @@ msgid ""
"possible to trust certificates issued by an intermediate CA without having "
"to trust its ancestor root CA."
msgstr ""
":attr:`SSLContext.verify_flags` 可能的值。它指示 OpenSSL 接受信任存儲中的中"
"間 CAs 作為信任錨,就像自簽名的根 CA 憑證。這樣就能去信任中間 CA 所頒發的憑"
"證,而不一定非要去信任其祖先的根 CA。"

#: ../../library/ssl.rst:573
msgid ":class:`enum.IntFlag` collection of VERIFY_* constants."
msgstr ""
msgstr ":class:`enum.IntFlag` 為 VERIFY_* 常數的其中一個集合。"

#: ../../library/ssl.rst:579
msgid ""
"Selects the highest protocol version that both the client and server "
"support. Despite the name, this option can select both \"SSL\" and \"TLS\" "
"protocols."
msgstr ""
"選擇客戶端及伺服器均可以支援最高協定版本。儘管名稱只有 「TLS」,但實際上"
"「SSL」和「TLS」均可以選擇。"

#: ../../library/ssl.rst:586
msgid ""
"TLS clients and servers require different default settings for secure "
"communication. The generic TLS protocol constant is deprecated in favor of :"
"data:`PROTOCOL_TLS_CLIENT` and :data:`PROTOCOL_TLS_SERVER`."
msgstr ""
"TLS 的客戶端及伺服器端需要不同的預設值來實現安全通訊。通用的 TLS 協定常數已被"
"廢除,並改用 :data:`PROTOCOL_TLS_CLIENT` 和 :data:`PROTOCOL_TLS_SERVER`。"

#: ../../library/ssl.rst:592
msgid ""
Expand All @@ -806,12 +813,14 @@ msgid ""
"enables :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` by "
"default."
msgstr ""
"自動協商客戶端和服務器都支援的最高協議版本,並配置客戶端語境連線。該協定預設"
"啟用 :data:`CERT_REQUIRED` 和 :attr:`~SSLContext.check_hostname`。"

#: ../../library/ssl.rst:601
msgid ""
"Auto-negotiate the highest protocol version that both the client and server "
"support, and configure the context server-side connections."
msgstr ""
msgstr "自動協商客戶端和服務器都支援的最高協議版本,並配置客戶端語境連線。"

#: ../../library/ssl.rst:608
msgid "Alias for :data:`PROTOCOL_TLS`."
Expand Down