Revision control

Copy as Markdown

Other Tools

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
<vbox id="e2eEditing">
<stringbundle id="bundle_e2e" src="chrome://messenger/locale/am-smime.properties"/>
<stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/>
<linkset>
<html:link rel="localization" href="branding/brand.ftl"/>
<html:link rel="localization" href="messenger/openpgp/openpgp.ftl"/>
</linkset>
<vbox flex="1">
<html:p class="intro-paragraph">&e2eEnc.description;</html:p>
<html:p class="intro-paragraph"
data-l10n-id="e2e-intro-description"></html:p>
<html:span class="tail-with-learn-more"
data-l10n-id="e2e-intro-description-more"></html:span>
<label is="text-link" id="acceptLearnMoreE2E"
value="&e2eLearnMore.label;"/>
</vbox>
<html:div>
<html:fieldset id="openpgpOptions"
aria-describedby="openPgpDescription">
<html:legend>&openpgpKeys.label;</html:legend>
<vbox data-subcategory="openpgp" class="openpgp-container">
<hbox align="center" class="opengpg-intro-section">
<html:img id="openPgpKey"
alt="" />
<vbox flex="1">
<description class="description-with-side-element openpgp-description">
<html:p id="openPgpDescription"></html:p>
<html:img id="openPgpStatusImage" class="openpgp-status"
alt="" hidden="hidden"/>
<html:span id="openPgpSelectionStatus"
class="tail-with-learn-more"
hidden="hidden"></html:span>
<label is="text-link" id="openPgpLearnMore"
data-l10n-id="e2e-learn-more"
class="learnMore"
hidden="true"/>
</description>
</vbox>
<vbox>
<!-- Please don't remove the wrapping hbox/vbox/box for these elements. It's used to properly compute the search tooltip position. -->
<hbox>
<button id="addOpenPgpButton"
data-l10n-id="openpgp-add-key-button"
oncommand="openKeyWizard();"
class="accessory-button openpgp-add-key-button openpgp-image-btn"
flex="1"/>
</hbox>
</vbox>
</hbox>
<hbox id="openPgpNotification"
class="inline-notification-container success-container"
collapsed="true">
<hbox class="inline-notification-wrapper align-center">
<html:img class="notification-image"
alt="" />
<description id="openPgpNotificationDescription"/>
<button class="close-icon" oncommand="closeNotification()"/>
</hbox>
</hbox>
<vbox id="openPgpKeyList">
<radiogroup id="openPgpKeyListRadio">
<vbox id="openPgpOptionNone" class="content-blocking-category">
<hbox>
<radio id="openPgpNone"
value=""
data-l10n-id="openpgp-radio-none"
flex="1"/>
</hbox>
<vbox class="indent">
<description data-l10n-id="openpgp-radio-none-desc"/>
</vbox>
</vbox>
<!-- All available keys will be appended here. -->
</radiogroup>
</vbox>
</vbox>
<separator/>
<description flex="1" data-l10n-id="openpgp-manager-description"/>
<separator class="thin"/>
<hbox>
<button id="openOpenPGPKeyManagerButton"
data-l10n-id="openpgp-manager-button"
class="first-element"
oncommand="openKeyManager()"/>
</hbox>
</html:fieldset>
</html:div>
<separator/>
<html:div>
<html:fieldset id="smimeOptions">
<html:legend>&certificates2.label;</html:legend>
<label id="identity_signing_cert_nameLabel"
value="&signingCert2.message;" control="identity_signing_cert_name"/>
<hbox align="center" class="input-container">
<html:input id="identity_signing_cert_name" type="text"
class="input-inline"
readonly="readonly"
disabled="disabled"
aria-labelledby="identity_signing_cert_nameLabel"
wsm_persist="true"
prefstring="mail.identity.%identitykey%.signing_cert_name"/>
<button id="signingCertSelectButton"
label="&digitalSign.certificate.button;"
accesskey="&digitalSign.certificate.accesskey;"
oncommand="smimeSelectCert('identity_signing_cert_name')"/>
<button id="signingCertClearButton"
label="&digitalSign.certificate_clear.button;"
accesskey="&digitalSign.certificate_clear.accesskey;"
oncommand="smimeClearCert('identity_signing_cert_name')"/>
</hbox>
<separator class="thin"/>
<label value="&encryptionCert2.message;"
control="identity_encryption_cert_name"/>
<hbox align="center" class="input-container">
<html:input id="identity_encryption_cert_name" type="text"
class="input-inline"
readonly="readonly"
disabled="disabled"
wsm_persist="true"
prefstring="mail.identity.%identitykey%.encryption_cert_name"/>
<button id="encryptionCertSelectButton"
label="&encryption.certificate.button;"
accesskey="&encryption.certificate.accesskey;"
oncommand="smimeSelectCert('identity_encryption_cert_name')"/>
<button id="encryptionCertClearButton"
label="&encryption.certificate_clear.button;"
accesskey="&encryption.certificate_clear.accesskey;"
oncommand="smimeClearCert('identity_encryption_cert_name')"/>
</hbox>
<separator class="thin"/>
<hbox align="right">
<button id="openCertManagerButton" oncommand="openCertManager();"
label="&manageCerts3.label;" accesskey="&manageCerts3.accesskey;"/>
<button id="openDeviceManagerButton" oncommand="openDeviceManager();"
label="&manageDevices2.label;" accesskey="&manageDevices2.accesskey;"/>
</hbox>
<separator class="thin"/>
<vbox flex="1">
<html:span class="tail-with-learn-more"
data-l10n-id="e2e-csr-intro"></html:span>
<label is="text-link"
value="&e2eLearnMore.label;"/>
</vbox>
<hbox align="right">
<button id="generateCSRButton"
data-l10n-id="e2e-csr-button"
oncommand="smimeGenCSR()"/>
</hbox>
</html:fieldset>
</html:div>
<separator/>
<html:legend>&sendingDefaults.label;</html:legend>
<html:div>
<html:fieldset>
<radiogroup id="encryptionChoices" class="indent" hidden="true">
<radio id="disable_encryption" wsm_persist="true" value="0"
data-l10n-id="e2e-disable-enc"/>
<radio id="enable_encryption" wsm_persist="true" value="2"
data-l10n-id="e2e-enable-enc"/>
<hbox>
<description flex="1" data-l10n-id="e2e-enable-description"
class="option-description tip-caption"/>
</hbox>
</radiogroup>
<separator/>
<description flex="1" data-l10n-id="e2e-signing-description"></description>
<checkbox id="identity_sign_mail" class="indent" wsm_persist="true"
prefstring="mail.identity.%identitykey%.sign_mail"
data-l10n-id="e2e-sign-message"/>
</html:fieldset>
</html:div>
<separator/>
<html:legend data-l10n-id="e2e-advanced-section"/>
<html:div>
<html:fieldset>
<checkbox id="identity_attach_key" wsm_persist="true"
prefstring="mail.identity.%identitykey%.attachPgpKey"
data-l10n-id="e2e-attach-key"/>
<checkbox id="identity_autocrypt_headers" wsm_persist="true"
prefstring="mail.identity.%identitykey%.sendAutocryptHeaders"
data-l10n-id="e2e-autocrypt-headers"/>
<checkbox id="identity_encrypt_subject" wsm_persist="true"
prefstring="mail.identity.%identitykey%.protectSubject"
data-l10n-id="e2e-encrypt-subject"/>
<checkbox id="identity_encrypt_drafts" wsm_persist="true"
prefstring="mail.identity.%identitykey%.autoEncryptDrafts"
data-l10n-id="e2e-encrypt-drafts"/>
<separator/>
<description>&e2eTechPref.description;</description>
<radiogroup id="technologyChoices" class="indent">
<radio id="technology_automatic" wsm_persist="true" value="0"
label="&technologyAutomatic.label;"/>
<radio id="technology_prefer_openpgp" wsm_persist="true" value="2"
label="&technologyOpenPGP.label;"/>
<radio id="technology_prefer_smime" wsm_persist="true" value="1"
label="&technologySMIME.label;"/>
</radiogroup>
</html:fieldset>
</html:div>
</vbox>