#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: Sensitive: no

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 10 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 10 months ago by zzz

Component: apps/androidrouter/transport
Milestone: eventually0.9.38
Resolution: fixed
Status: newclosed

Shut down X25519KeyFactory thread in dba5fa15bc977a01553cc4c5e98c927db4bd61d0 0.9.37-19-rc

Note: See TracTickets for help on using tickets.