Key publishing working on client side