[set page_title][L]Payment Preferences - PGP[/L][/set] [set ui_class]Admin[/set] [set mv_logical_page][/set] [set help_name]wizard.pgp[/set] [flag type=write table=variable] @_UI_STD_HEAD_@

[L]Enter the values used to enable payment processing through PGP or GnuPG.[/L]
[L GPG_KEY_PAR1] If you already have a GPG keyring, possible keys to encrypt against should be displayed. You may select one, or you may input a new PGP/GPG public key to add to the keyring at time of preview. [/L]

[if value pgpkeyfile] [value name=pgpkeytext set="[value-extended name=pgpkeyfile file-contents=1]" hide=1] [tmp tmp_zeroit]1[/tmp] [/if] [if value pgpkeytext =~ /\S/] [calc] $CGI->{pgpkeyid} = q{[add-gpg-key text="[value pgpkeytext]" return_id=1]}; return; [/calc] [if cgi pgpkeyid] [warnings message="GPG key (id [cgi pgpkeyid]) imported."] [tmp tmp_zeroit]1[/tmp] [else] [error name=pgpkeytext set="GPG key import FAILED"]; [/else] [/if] [if scratch tmp_zeroit] [cgi name=pgpkeytext set=""] [value name=pgpkeytext set=""] [/if] [/if] [if value pgpkeyid] [/if] [if cgi pgpkeyid] [/if] [tmp tmp_pgpkeys][get-gpg-keys][/tmp]

[table-editor left_width=120 table_width=500 wizard=1 defaults=1 bottom_buttons=1 no_top=1 no_bottom=1 row_template="[scratch row_template]" next_text="[L]Import GPG/PGP key[/L]" top_buttons=1 mv_nextpage="@@MV_PAGE@@" hidden.ui_return_to="__UI_BASE__/wizard/index" hidden.mv_click="set_variable_write" file-upload=1 ui_wizard_fields="pgpkeyid pgpkeyfile pgpkeytext" label.pgp="[L]Enable PGP/GPG mode[/L]" widget.pgp=yesno default.pgp=1 label.pgpkeyid="[L]PGP/GPG key selection[/L]" help.pgpkeyid="[L]This is either the key ID or the email address associated with the PGP/GPG key[/L]" passed.pgpkeyid=`$Scratch->{tmp_pgpkeys}` widget.pgpkeyid=select label.pgpkeytext="[L]PGP/GPG Public Key[/L]" help.pgpkeytext="[L]...or export an ASCII-armored version of your key, and paste it in.[/L]" widget.pgpkeytext=textarea_20_60 extra.pgpkeytext="wrap=off" label.pgpkeyfile="[L]PGP/GPG Upload file[/L]" help.pgpkeyfile="[L]Upload a keyfile...[/L]" widget.pgpkeyfile=file extra.pgpkeyfile="wrap=off" output-map=1 ] @_UI_STD_FOOTER_@