Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ cppcryptfs 在没有 SE_SECURITY_NAME 权限的情况下似乎也能正常工作
生成的 gocryptfs.conf 中 “FeatureFlags” 里会缺少 “DirIV”。
```

你可以选择 AES256-GCM 或 AES256-SIV(RFC 5297)对文件数据进行加密。默认是 AES256-GCM,推荐使用。对于流式读写,GCM 的速度大约是 SIV 的两倍。实现 SIV 是为了支持反向模式。
你可以选择使用 AES256-GCM、AES256-SIV(RFC 5297)或 XChaCha20-Poly1305 对文件数据进行加密。默认是 AES256-GCM,推荐使用。对于流式读写,GCM 的速度大约是 SIV 的两倍。实现 SIV 是为了支持反向模式。

注意:在 gocryptfs 文档中,SIV 模式被称为 AES-512-SIV,这是此操作模式的正确名称。然而,在 cppcryptfs 中它被称为 AES256-SIV,因为 512 位的 SIV 密钥是从 256 位的主密钥派生而来的(gocryptfs 也是如此)。此外,cppcryptfs 的开发者不想在用户界面中将其称为 AES512-SIV,因为这可能会让用户认为它比 AES256-GCM 更安全。

Expand Down Expand Up @@ -469,6 +469,7 @@ cppcryptfsctl 在成功时将 ERRORLEVEL 设置为 0,发生错误时设置为
-T, --plaintext 使用明文文件名(默认是 AES256-EME 模式)
--deterministicnames 禁用创建 gocryptfs.diriv 文件。
-S, --siv 使用 AES256-SIV 进行数据加密(默认是 GCM 模式)
-X, --chacha 使用 XChaCha20-Poly1305 进行数据加密(默认是 GCM 模式)
-L, --longnames [1|0] 启用/禁用长文件名。默认启用(1)
-b, --streams [1|0] 启用/禁用流。默认启用(1)
--longnamemax N 将文件名长度限制为最多 N 个字符
Expand Down
Binary file modified cppcryptfs/res/en/Resources_EN.rc
Binary file not shown.
Binary file modified cppcryptfs/res/ru/Resources_RU.rc
Binary file not shown.
Binary file modified cppcryptfs/res/zh-CN/Resources_ZH-CN.rc
Binary file not shown.
4 changes: 2 additions & 2 deletions cppcryptfs/ui/FsInfoDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ BOOL CFsInfoDialog::OnInitDialog()

wstring txt;
txt = to_wstring(m_info.ioBufferSize);
strMsgKB.Format(LocUtils::GetStringFromResources(IDS_FSINFO_KB).c_str(), txt);
strMsgKB.Format(LocUtils::GetStringFromResources(IDS_FSINFO_KB).c_str(), txt.c_str());
SetDlgItemText(IDC_IO_BUF_SIZE, strMsgKB);
txt = m_info.multhreaded ? yes : no;
SetDlgItemText(IDC_THREADS, txt.c_str());
if (m_info.cacheTTL > 0) {
txt = to_wstring(m_info.cacheTTL);
strMsgSec.Format(LocUtils::GetStringFromResources(IDS_FSINFO_SEC).c_str(), txt);
strMsgSec.Format(LocUtils::GetStringFromResources(IDS_FSINFO_SEC).c_str(), txt.c_str());
SetDlgItemText(IDC_CACHE_TTL, strMsgSec);
} else {
SetDlgItemText(IDC_CACHE_TTL, strMsgInfinite);
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.5.0
1.4.5.1