I'm having some issue with Crypt::OpenPGP when using Public Key encryption with RSA keys.
I have Alt::Crypt:RSA installed which uses GMP instead of Pari
However, I'm still seeing Crypt::Random which Crypt::RSA calls using Pari. This seems to hang when calling /dev/udrandom is there a multiple requests to encrypt a file at the same time.
I solved this in my code by inserting 1/4 second sleep using usleep(250000). This seems to stop /dev/urandom from blocking.
I would like to get this solved without having to insert the sleep