use public key if specified in source