From: "Alexey I. Froloff" <raorn@immo.ru> To: ALT Linux Sisyphus <sisyphus@altlinux.ru> Subject: [sisyphus] mutt 1.5 + gpg-agent + neat title Date: Fri, 23 Apr 2004 20:14:47 +0400 Message-ID: <20040423161447.GO20053@immo.ru> (raw) [-- Attachment #1.1: Type: text/plain, Size: 720 bytes --] Как вы все наверно уже знаете, mutt 1.5 умеет работать с gpg-agent (он сам при этом не спрашивает пассфразу). Для этого нужно кроме переменной GPG_AGENT_INFO определить переменную GPG_TTY. У меня mutt вызывается хоткеем из WindowMaker'ского appicon'а командой aterm -name mutt -e mutt ~/.zshrc при этом не отрабатывает и написал небольшой шеллскрипт, который помимо установки GPG_TTY ещё приделывает окну красивый тайтл ;-) P.S. Настройки pgp также приаттачены, для тех кому интересно (без поддержки S/MIME, которую мне проверить негде). -- Regards, Sir Raorn. ------------------- [...] кишки latex в сравнении с кишками passivetex это нечто очень прямое, ровное и светлое. -- boyarsh in docs@ [-- Attachment #1.2: xmutt --] [-- Type: text/plain, Size: 250 bytes --] #!/bin/sh MUTT="/usr/bin/mutt" [ -x $MUTT ] || exit 1 mutt_version="$($MUTT -v | head -1)" GPG_TTY=$(tty || echo "") [ -n "$GPG_TTY" ] && export GPG_TTY [ -n "$DISPLAY" -a -n "$mutt_version" ] && echo -en "\e]0;$mutt_version\a" exec $MUTT "$@" [-- Attachment #1.3: crypt --] [-- Type: text/plain, Size: 2981 bytes --] #set crypt_autopgp = yes #set crypt_autosmime = yes #set crypt_autoselectkey = no set crypt_autosign = yes #set crypt_autoencrypt = no #set crypt_confirmhook = yes #set pgp_ignore_subkeys = yes #set crypt_replyencrypt = yes #set crypt_replysign = yes set crypt_replysignencrypted = yes #set crypt_timestamp = yes set pgp_use_gpg_agent = yes #set crypt_verify_sig = yes set smime_is_default = no #set smime_ask_cert_label = yes #set smime_decrypt_use_default_key = yes #set pgp_entry_format = '%4n %t%f %4l/0x%k %-4a %2c %u' # set pgp_good_sign="^gpg: Good signature from" set pgp_good_sign="`gettext -d gnupg -s 'Good signature from "' | tr -d '"'`" #set pgp_check_exit = yes #set pgp_long_ids = no #set pgp_retainable_sigs = no #set pgp_autoinline = no #set pgp_replyinline = no set pgp_show_unusable = no #set pgp_sign_as = "" #set pgp_strict_enc = yes #set pgp_timeout = 300 #set pgp_sort_keys = address #set pgp_mime_auto = ask-yes #set pgp_auto_decode = no set pgp_decode_command="/usr/bin/gpg --no-verbose --quiet --batch --no-tty --output - %f" #set pgp_getkeys_command="pkspxycwrap %r" set pgp_verify_command="/usr/bin/gpg --no-verbose --quiet --batch --no-tty --output - --verify %s %f" set pgp_decrypt_command="/usr/bin/gpg --no-verbose --quiet --batch --no-tty --output - %f" set pgp_clearsign_command="/usr/bin/gpg --no-verbose --quiet --batch --no-tty --output - --armor --textmode --clearsign %?a?-u %a? %f" set pgp_sign_command="/usr/bin/gpg --no-verbose --quiet --batch --no-tty --output - --armor --textmode --detach-sign %?a?-u %a? %f" set pgp_encrypt_sign_command="pgpewrap /usr/bin/gpg --no-verbose --quiet --batch --no-tty --output - --armor --textmode --encrypt --sign %?a?-u %a? --always-trust -- -r %r -- %f" set pgp_encrypt_only_command="pgpewrap /usr/bin/gpg --no-verbose --quiet --batch --no-tty --output - --armor --textmode --encrypt --always-trust -- -r %r -- %f" set pgp_import_command="/usr/bin/gpg --verbose --import %f" set pgp_export_command="/usr/bin/gpg --no-verbose --export --armor %r" set pgp_verify_key_command="/usr/bin/gpg --verbose --batch --no-tty --fingerprint --check-sigs %r" set pgp_list_secring_command="/usr/bin/gpg --no-verbose --quiet --batch --no-tty --with-colons --list-secret-keys %r" set pgp_list_pubring_command="/usr/bin/gpg --no-verbose --quiet --batch --no-tty --with-colons --list-keys %r" #set forward_decrypt = yes #set smime_timeout = 300 #set smime_encrypt_with = "" #set smime_keys = "" #set smime_ca_location = "" #set smime_certificates = "" #set smime_decrypt_command = "" #set smime_verify_command = "" #set smime_verify_opaque_command = "" #set smime_sign_command = "" #set smime_sign_opaque_command = "" #set smime_encrypt_command = "" #set smime_pk7out_command = "" #set smime_get_cert_command = "" #set smime_get_signer_cert_command = "" #set smime_import_cert_command = "" #set smime_get_cert_email_command = "" #set smime_default_key = "" [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
reply other threads:[~2004-04-23 16:14 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040423161447.GO20053@immo.ru \ --to=raorn@immo.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git