mirror of
https://github.com/Finb/Bark.git
synced 2026-04-26 06:25:55 +03:00
[GH-ISSUE #225] iv 中包含 \r\n 导致 Decryption Failed #202
Labels
No labels
bug
enhancement
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Bark#202
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zhangyoufu on GitHub (Nov 30, 2023).
Original GitHub issue: https://github.com/Finb/Bark/issues/225
我使用下面的代码生成随机 iv,使用了很长时间后,遇到偶发的
Decryption Failed报错。测试后发现,如果 iv 参数中存在
\r\n会引起Decryption Failed错误。单独的\r或者\n都没有问题。@Finb commented on GitHub (Sep 20, 2024):
是不是这个导致http报文换行了,建议生成端防止一下这种特殊字符