Skip to content

fix(jans-fido2): error in fido2 #10752

@manojs1978

Description

@manojs1978

Describe the bug
error in fido

To Reproduce
Steps to reproduce the behavior:

  1. install nightly build
  2. check fido log for error

Expected behavior
shoudl not get error

Screenshots

Image

Desktop (please complete the following information):

  • OS: suse 15sp5
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
  • DB pgsql
  • jans - nightly

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

2025-01-28 07:21:58.213:WARN :oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@6f46426d{jans-fido2.xml,/jans-fido2,file:///opt/jetty-11.0/temp/jetty-localhost-8073-jans-fido2_war-_jans-fido2-any-9168202493967060359/webapp/,UNAVAILABLE}{/opt/jans/jetty/jans-fido2/webapps/jans-fido2.war}
io.jans.fido2.exception.Fido2RuntimeException: Error when parsing TOC JWT: Invalid serialized unsecured/JWS/JWE object: Missing part delimiters
        at io.jans.fido2.service.mds.TocService.readEntriesFromTocJWT(TocService.java:423)
        at io.jans.fido2.service.mds.TocService.parseTOC(TocService.java:175)
        at io.jans.fido2.service.mds.TocService.parseTOCs(TocService.java:157)
        at io.jans.fido2.service.mds.TocService.refresh(TocService.java:119)
        at io.jans.fido2.service.mds.TocService.init(TocService.java:110)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95)
        at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85)
        at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168)
        at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330)
        at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308)
        at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286)
        at jakarta.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:125)
        at org.jboss.weld.util.Observers.notify(Observers.java:166)
        at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285)
        at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273)
        at org.jboss.weld.event.EventImpl.fire(EventImpl.java:96)
        at io.jans.fido2.service.app.AppInitializer.applicationInitialized(AppInitializer.java:145)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

fido2.log
2025_01_28.jetty.log

Metadata

Metadata

Labels

comp-jans-fido2Component affected by issue or PRkind-bugIssue or PR is a bug in existing functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions