Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it?
pure-ftpd 上传缓慢是由于 login 过程中 Argon2id 算法的密码校验导致的,所以通过调整加密算法来处理 FTP 上传过程中的卡顿问题。
The slow upload in pure-ftpd is due to the Argon2id algorithm used for password verification during the login process. To address the lag in the FTP upload process, consider adjusting the encryption algorithm.
Summary of your change
调整了 pure-ftpd 加密算法,由 Argon2id 变更为 Bcrypt,已达到安全和速度的平衡。
影响范围:新增和修改用户密码,将不在使用原生 pure-pw 命令。其他操作不影响。
The encryption algorithm in pure-ftpd has been changed from Argon2id to Bcrypt, achieving a balance between security and speed.
Scope of impact: This change affects only the creation and modification of user passwords, which will no longer use the native pure-pw command. Other operations are unaffected.
Please indicate you've done the following: