return public key only for newkeys