stripped support: implement has_secret support, in ui and impot of secret keys

Closes #570