Skip to content
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

一些其他问题 #51

Open
future-snytcc opened this issue May 9, 2023 · 1 comment
Open

一些其他问题 #51

future-snytcc opened this issue May 9, 2023 · 1 comment

Comments

@future-snytcc
Copy link

  1. 在操作word文件这块,每次编辑原文件点击保存,会创建一个.tmp文件,并将编辑内容写入到 .tmp文件,之后进行重命名。但此时写入到.tmp文件的内容并没有被加密,只有当关闭文件时,触发IRP_CLOSE等待操作进程结束才会重入加密。在编辑期间,可能会造成明文泄露,并且没有处理电源相关的IRP,在持续打开文件时,直接关机,此时文件内容也没有加密。

  2. 在IRP_CLOSE中创建的线程回调在等待相关进程结束的间隔时间可能太长,如果关闭文件后,立即快速打开文件,此时文件还处于未加密状态。

@HARM4Y
Copy link
Owner

HARM4Y commented May 12, 2023

哈哈,这个项目是我大学时写的,最近在打工,没空写代码了。谢谢你的issue,good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants