谷歌支持说
可以通过系统预先确定可接受的锁定类型 管理员。
我可以在哪里定义可接受的内容?如果需要,我可以重新生成证书。
所以我可以再次使用幻灯片锁定屏幕。
(我正在使用cm9 rc1,android 4.0.4)
谷歌支持说
可以通过系统预先确定可接受的锁定类型 管理员。
我可以在哪里定义可接受的内容?如果需要,我可以重新生成证书。
所以我可以再次使用幻灯片锁定屏幕。
(我正在使用cm9 rc1,android 4.0.4)
Google Support says:
The type of lock that's acceptable may be predetermined by your system administrator.
Where I can define what's acceptable? I can regenerate the certificate if needed.
So I can use slide lockscreen again.
(I'm using CM9 RC1, Android 4.0.4)
使用Toggle / Profile禁用锁定安全性的问题是锁定屏幕小部件不会出现,因此您无法幻灯片解锁。此外,当您重新启动手机时,按钮不起作用,直到您再次重新重写该设置。
另一种方式是像往常一样安装证书,然后使用将root资源管理器等ACL(如Root Explorer)保留为支持ACL的位置的东西备份/ Data / Misc / keychain和keyStore目录。我建议将它们复制到/ tmp。然后清除设置中的凭据并使幻灯片解锁。然后从/ tmp复制文件夹。将安装CA.
The problem with disabling the lockscreen security using the toggle/profile is that the lockscreen widgets don't appear either so you can't slide to unlock. Also, when you reboot your phone the buttons don't work until you retoggle the setting again.
Another way is to install the certificate as usual then backup the /data/misc/keychain and keystore directories using something that preserves the ACLs such as Root Explorer to a location that supports ACLs. I suggest copying them to /tmp. Then clear the credentials from Settings and enable Slide To Unlock. Then copy back the folders from /tmp. The CA will be installed.
我已经描述了如何在我的页面上exacly这一点,"在没有锁定屏幕的" 系统"凭据上安装Cacert证书 - 没有锁定屏幕的凭据 - 指令" 在 http://wiki.pcprobleemloos.nl/android/cacert
我还在Cyanogenmod论坛上发布了它: http://forum.cyanogenmod.com. /主题/ 82875-安装-Cacert-on-Android-Sys-System-Credentials-Free-Lockscreen /
基本上,命令是:
openssl x509 -inform PEM -subject_hash_old -in root.crt | head -1
要获取正确的文件名,然后转换证书: cat root.crt > 5ed36f99.0 openssl x509 -inform PEM -text -in root.crt -out /dev/null >> 5ed36f99.0
将它们复制到/ system / etc / security / cacerts / and chmod新的.0文件到'644'。 重启并验证。在您的Android设备上,选择"清除Cerficates" ,您可以卸下PIN(通过输入PIN并将锁定屏幕更改为"无" 或"擦除"
在这里我使用了Cacert根证书,但您可能希望Class3.crt证书也可能使用或使用您自己的证书。
I've described how to do exacly this on my page, "Installing CAcert certificates on Android as 'system' credentials without lockscreen - instructions" at http://wiki.pcprobleemloos.nl/android/cacert
I've also posted it on the cyanogenmod forum: http://forum.cyanogenmod.com/topic/82875-installing-cacert-certificates-on-android-as-system-credentials-without-lockscreen/
Basically, the commands are:
openssl x509 -inform PEM -subject_hash_old -in root.crt | head -1
To get the correct filename, then convert the certificate:
cat root.crt > 5ed36f99.0 openssl x509 -inform PEM -text -in root.crt -out /dev/null >> 5ed36f99.0
Copy them to /system/etc/security/cacerts/ and chmod the new .0 files to '644'. Reboot and verify. On your android device select 'Clear cerficates' and you are able to remove the pin (by entering the pin and changing your lockscreen to 'none' or 'wipe'
Here I used the CAcert root certificate, but you probably want the class3.crt certificate as well, or use your own certificates.
我发现了一个没有额外的软件或手动文件复制的解决方案:
系统现在设置为"滑动解锁" ,但仍然可以使用用户证书(使用Web浏览器和使用DefaulthTtpClient测试的自定义应用)。
在Galaxy Tab 2 10.1上的Android 4.1.2上进行测试。
I've discovered a solution that works without additional software or manual file copying:
The system is now set to "Swipe unlock", but the user certificate is still usable (tested with the web browser and a custom app using DefaultHttpClient).
Tested on an Android 4.1.2 on a Galaxy Tab 2 10.1.
您可以使用cyanogenmod的型材。
(对于其他读者:这需要定制的CyanogenMod ROM版本9 +)
只需创建或修改现有配置文件并在那里关闭"屏幕锁定" 。
是:系统设置 - > effiles-> default->锁定屏幕模式 - >禁用
将证书集成到标准的android keystore文件
中参见cacert的优秀howto 这里
但是,我不确定,如果可以用自签名的证书执行此操作(您可能必须切换到自制CA,也许(在* nix上使用tinyca为一个漂亮的gui-tool))。
You can make use of CyanogenMod's profiles.
(For other readers: this needs the custom CyanogenMod Rom version 9+)
Just create or modify an existing profile and switch off "screen lock" there.
It's: System Settings->Profiles->Default->Lock screen mode->Disabled
Integrate your certificate into the standard Android keystore file
See CAcert's excellent howto here
I'm not sure however if you can do this with a self-signed cert (you might have to switch to a self-made CA maybe (use tinyca for a nice gui-tool on *nix)).
我找到了解决问题的方法,但它需要root,也可能只能与root,自签名或中间CA合作。
如果您在Android中没有信任的证书,则在添加它时,它将进入个人证书商店。在此个人证书商店添加证书时,系统需要更高的安全级别来解锁设备。但是,如果您设法将CERT添加到系统存储,那么您没有此要求。显然,root需要在系统存储中添加证书,但它很容易安静。
这里是如何做的:
1 - 正常添加您的CERT。例如,我的证书被称为 some.crt
。它将存储在您的个人商店中,Android会向您询问PIN /密码...继续。
2 - 带有根功能的文件管理器,浏览 /data/misc/keychain/cacerts-added
或 /data/misc/keystore
中的文件。您应该在此处看到一个名为 1000_USRCERT_some
它是您在步骤1中添加的证书。
3 - 将此文件移动到 system/etc/security/cacerts
(您需要安装 系统分区R / W)
4 - 重新启动手机
5 - 您现在能够清除您设置以解锁的密码/密码 设备。
在Android 4.2.2上用一个自签名的证书工作。希望它有所帮助!
I found a way to solve the problem, but it requires root and may only work with root, self-signed, or intermediate CAs.
If you have a certificate that is not trusted by Android, when you add it, it goes in the personal cert store. When you add a cert in this personal cert store, the system requires a higher security level to unlock the device. But if you manage to add your cert to the system store then you don't have this requirement. Obviously, root is required to add a certificate to the system store, but it is quiet easy.
Here is how to do it :
1 - Add your cert normally. For example, my cert was called some.crt
. It will be stored in your personal store and android will ask you a pin/password... Proceed.
2 - With a file manager with root capabilities, browse files in /data/misc/keychain/cacerts-added
or /data/misc/keystore
. You should see a file here called 1000_USRCERT_some
it's the certificate you have added in step 1.
3 - Move this file to system/etc/security/cacerts
(you will need to mount the system partition r/w)
4 - Reboot the phone
5 - You are now able to clear the pin/password you have set to unlock the device.
Worked for me with a self-signed cert on Android 4.4.2. Hope it helps!
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有