Page MenuHome GnuPG

--no-random-seed-file error
Closed, ResolvedPublic

Description

any way to avoid this race condition? Im executing the command for both
encrypting and decrypting within a highly concurrent environment in which java
threads are executing the gpg command. I get the race condition occassionally.
so far about 4 to more times a day.

  • OUTPUT IN LOG FILE(ignore the XXXXX) -----------------

GPG:/grs-apps/gnupg/gpg --status-fd 2 --batch --
output /home/psadm/encryptdecryptmodule/tempoutput/post-
encode/ffo/ffo.MG4854751.20130215.xml.pgp --textmode --armor --always-trust -r
XXXXXXX --encrypt /home/psadm/encryptdecryptmodule/post-
encode/ffo/ffo.MG4854751.20130215.xml
gpg: fatal: can't read `/home/psadm/.gnupg/random_seed': No such file or
directory
secmem usage: 2112/2112 bytes in 5/5 blocks of pool 2112/32768
ERRORVAL:2

Details

Version
1.2.6

Event Timeline

werner added a subscriber: werner.

Do not use an outdated version of GnuPG.

werner claimed this task.