Hello,
I'm trying to run security/gnupg inside a Jail, but it fails creating a key, with this error:
Inside the Jail, security/gnupg also issues a warning about memory:
When I try this on the host (ie. outside the Jail), with the same exact security/gnupg version, it works:
The warning about memory does not occur when command runs on the host.
System is 10.2-RELEASE-p9, amd64. Jails are created with sysutils/ezjail and are rather vanilla.
Is there a special setting that I would need to tune in order to make security/gnupg behaves properly inside a Jail?
I'm trying to run security/gnupg inside a Jail, but it fails creating a key, with this error:
Code:
root@yksm:~ # gpg2 --full-gen-key
gpg (GnuPG) 2.1.8; Copyright (C) 2015 Free Software Foundation, Inc.
../..
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: agent_genkey failed: End of file
Key generation failed: End of file
Inside the Jail, security/gnupg also issues a warning about memory:
Code:
gpg: Warning: using insecure memory!
When I try this on the host (ie. outside the Jail), with the same exact security/gnupg version, it works:
Code:
root@test10:~ # gpg2 --full-gen-key
gpg (GnuPG) 2.1.8; Copyright (C) 2015 Free Software Foundation, Inc.
../..
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
Please enter the passphrase to
protect your new key
Passphrase:
../..
The warning about memory does not occur when command runs on the host.
System is 10.2-RELEASE-p9, amd64. Jails are created with sysutils/ezjail and are rather vanilla.
Is there a special setting that I would need to tune in order to make security/gnupg behaves properly inside a Jail?