extension/key_ext library