app-crypt/keyart: Ensure it works across python compat