Fix public key publish parsing

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>