mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-06-24 18:05:40 +03:00
512aba8b1d
Python's random module uses a PRNG (Mersenne Twister) which is utterly insecure for key generation - it was so far only used for testing. Replace it with random.SystemRandom(), which draws from /dev/urandom and is suitable for generating cryptographic key material. Change-Id: I6de38c14ac6dd55bc84d53974192509c18d02bfa Jenkins: skip-card-test