Skip to content

Instantly share code, notes, and snippets.

@tresf
Created August 11, 2021 03:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tresf/4e7f0c78a728d8ae210f65245f3ae1d6 to your computer and use it in GitHub Desktop.
Save tresf/4e7f0c78a728d8ae210f65245f3ae1d6 to your computer and use it in GitHub Desktop.
https://stackoverflow.com/questions/29941362/
[ERROR] 2021-08-11 11:09:30,361 @ qz.auth.Certificate:?
Unable to verify signature
java.security.SignatureException: Signature encoding error
at sun.security.rsa.RSASignature.engineVerify(RSASignature.java:226)
at java.security.Signature$Delegate.engineVerify(Signature.java:1394)
at java.security.Signature.verify(Signature.java:771)
at qz.auth.Certificate.isSignatureValid(Unknown Source)
at qz.ws.PrintSocketClient.validSignature(Unknown Source)
at qz.ws.PrintSocketClient.onMessage(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:70)
at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:68)
at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver$2.run(JettyAnnotatedEventDriver.java:227)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:914)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: ObjectIdentifier mismatch: 1.3.14.3.2.26
at sun.security.rsa.RSASignature.decodeSignature(RSASignature.java:259)
at sun.security.rsa.RSASignature.engineVerify(RSASignature.java:217)
... 15 more
[WARN] 2021-08-11 11:09:30,366 @ qz.ws.PrintSocketClient:?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment