Opened 3 months ago

Closed 3 months ago

#2388 closed defect (fixed)

Android: IllegalStateException in prng

Reported by: meeh Owned by: meeh
Priority: minor Milestone: 0.9.38
Component: router/transport Version: 0.9.37
Keywords: Cc:
Parent Tickets:

Description

java.lang.IllegalStateException?:

at gnu.crypto.prng.BasePRNGStandalone.nextBytes (BasePRNGStandalone.java:127)
at gnu.crypto.prng.BasePRNGStandalone.nextBytes (BasePRNGStandalone.java:110)
at net.i2p.util.FortunaRandomSource?.nextBytes (FortunaRandomSource?.java:174)
at net.i2p.router.transport.crypto.X25519KeyFactory.precalc (X25519KeyFactory.java:130)
at net.i2p.router.transport.crypto.X25519KeyFactory.run (X25519KeyFactory.java:90)

Subtickets

Change History (2)

comment:1 Changed 3 months ago by zzz

This can happen at shutdown and is a very minor issue. I'll check to see if the X25519KeyFactory is being stopped before the PRNG.

comment:2 Changed 3 months ago by zzz

  • Component changed from apps/android to router/transport
  • Milestone changed from eventually to 0.9.38
  • Resolution set to fixed
  • Status changed from new to closed

Shut down X25519KeyFactory thread in dba5fa15bc977a01553cc4c5e98c927db4bd61d0 0.9.37-19-rc

Note: See TracTickets for help on using tickets.