dongyuwei / hallelujahIM

hallelujahIM(哈利路亚 英文输入法) is an intelligent English input method with auto-suggestions and spell check features.
GNU General Public License v3.0
2.17k stars 116 forks source link

建议在密码框中自动禁用 #72

Closed liyafe1997 closed 4 years ago

liyafe1997 commented 4 years ago

如题,不然经常在打密码时启用,要手动切一下不太方便。

dongyuwei commented 4 years ago

输入法没有办法知道当前输入的input source是不是在密码框,这是操作系统决定的。

liyafe1997 commented 4 years ago

可为什么别的输入法不会在输密码的时候出现呢?

dongyuwei commented 4 years ago

osx对于 latin 输入法都允许在密码框中使用,其他语言的输入法不允许。hallelujah 输入法是英文输入法,也是 latin 系的。配置参见: https://github.com/dongyuwei/hallelujahIM/blob/master/Info.plist#L46

dongyuwei commented 4 years ago

严格来说,这是个系统安全漏洞。苹果没有限制第三方输入法,这个可能会泄露用户的敏感信息。中文输入法不能输入密码,会自动使用系统内置的英文输入法。

liyafe1997 commented 4 years ago

明白了,谢谢