Im trying to create a bunch of keys pair in a shell script and each time i try to
generate more than 12 key(4096bits).
gpg: out of secure memory while allocating 1308 bytes
gpg: (this may be caused by too many secret keys used simultaneously or due to
excessive large key sizes)
The command i use in my script is
gpg --batch --armor --gen-key foo
where foo contains info for keys generation
I tried to increase locked memory with ulimit -l but it didnt fix the issue
What else can I do to increase secure memory or to force it to not use it at all?
Or maybe i can free the secure memory somehow?
Thanks for your help