public key configuration is now optional

Signed-off-by: Aldur <adrianodl@hotmail.it>
fix < 2.1 compilation issue