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

soter 快速接入的方式,在华为 mater 20 pro 上报错 #93

Open
peienliudao opened this issue Aug 17, 2021 · 5 comments
Open

soter 快速接入的方式,在华为 mater 20 pro 上报错 #93

peienliudao opened this issue Aug 17, 2021 · 5 comments

Comments

@peienliudao
Copy link

soter 快速接入的方式,在华为 mater 20 pro 上报错

java.lang.NoSuchMethodError: No virtual method c()Z in class Lcom/tencent/soter/core/biometric/FaceManager; or its super classes (declaration of 'com.tencent.soter.core.biometric.FaceManager' appears in /system/framework/hwPartSecurity.jar)

at com.tencent.soter.core.biometric.FaceidManagerProxy.d(FaceidManagerProxy.java:2)
at com.tencent.soter.core.biometric.BiometricManagerCompat$FaceidManagerImpl.b(BiometricManagerCompat.java:1)
at com.tencent.soter.core.biometric.BiometricManagerCompat.f(BiometricManagerCompat.java:3)
at com.tencent.soter.core.SoterCore.s(SoterCore.java:1)
at com.tencent.soter.wrapper.wrap_task.TaskInit.(TaskInit.java:15)
at com.tencent.soter.wrapper.SoterWrapperApi$1.run(SoterWrapperApi.java:1)
at android.os.Handler.handleCallback(Handler.java:900)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:219)
at android.os.HandlerThread.run(HandlerThread.java:67)

@peienliudao
Copy link
Author

image

@weiaiSanli
Copy link

相同的问题!

@weiaiSanli
Copy link

java.lang.NoSuchMethodError: No virtual method generateCertificateWithFakeSignature(Ljava/security/PublicKey;I)Ljava/security/cert/X509Certificate; in class Lcom/huawei/security/keystore/HwUniversalKeyStoreCertificateGenerator; or its super classes (declaration of 'com.huawei.security.keystore.HwUniversalKeyStoreCertificateGenerator' appears in /system/framework/hwEmui.jar)
01-17 11:17:42.701 1731 2176 E HYError : at com.huawei.security.keystore.HwUniversalKeyStoreKeyPairGeneratorSpi.generateSelfSignedCertificateWithFakeSignature(HwUniversalKeyStoreKeyPairGeneratorSpi.java:669)
01-17 11:17:42.701 1731 2176 E HYError : at com.huawei.security.keystore.HwUniversalKeyStoreKeyPairGeneratorSpi.generateSelfSignedCertificate(HwUniversalKeyStoreKeyPairGeneratorSpi.java:630)
01-17 11:17:42.701 1731 2176 E HYError : at com.huawei.security.keystore.HwUniversalKeyStoreKeyPairGeneratorSpi.generateSelfSignedCertificateBytes(HwUniversalKeyStoreKeyPairGeneratorSpi.java:614)
01-17 11:17:42.701 1731 2176 E HYError : at com.huawei.security.keystore.HwUniversalKeyStoreKeyPairGeneratorSpi.createCertificateChainBytes(HwUniversalKeyStoreKeyPairGeneratorSpi.java:609)
01-17 11:17:42.701 1731 2176 E HYError : at com.huawei.security.keystore.HwUniversalKeyStoreKeyPairGeneratorSpi.generateKeyPair(HwUniversalKeyStoreKeyPairGeneratorSpi.java:513)
01-17 11:17:42.701 1731 2176 E HYError : at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:727)
01-17 11:17:42.701 1731 2176 E HYError : at com.tencent.soter.core.sotercore.SoterCoreBeforeTreble.generateAuthKey(SourceFile:228)
01-17 11:17:42.701 1731 2176 E HYError : at com.tencent.soter.core.SoterCore.generateAuthKey(SourceFile:250)
01-17 11:17:42.701 1731 2176 E HYError : at com.tencent.soter.wrapper.wrap_key.SoterKeyGenerateEngine$1.run(SourceFile:138)
01-17 11:17:42.701 1731 2176 E HYError : at android.os.Handler.handleCallback(Handler.java:955)
01-17 11:17:42.701 1731 2176 E HYError : at android.os.Handler.dispatchMessage(Handler.java:102)
01-17 11:17:42.701 1731 2176 E HYError : at android.os.Looper.loopOnce(Looper.java:205)
01-17 11:17:42.701 1731 2176 E HYError : at android.os.Looper.loop(Looper.java:293)
01-17 11:17:42.701 1731 2176 E HYError : at android.os.HandlerThread.run(HandlerThread.java:67)

@weiaiSanli
Copy link

应该是鸿蒙系统适配问题导致的,使用的为鸿蒙3.0系统

@gitboylovegirl
Copy link

还有维护吗 这个仓库

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

3 participants