{# This snippet expects the variable "failed_crypto" to be set to either message.crypto.encryption or part.crypto.encryption ... #} {% set crypto = show_message_encryption(failed_crypto.status) %}
{{ crypto.message }}
{%- if failed_crypto.status in ("missingkey", "error") %} {%- else %} {% if state.query_args.ui_key_auth %}
{{_("Password incorrect? Try again!")}}
{% endif %} {%- endif %} {#### FIXME: hiding this in Beta Freeze {% if part.crypto.encryption.missing_keys %} {% endif %} ####}