Gnus development mailing list
 help / color / mirror / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: Bug in pgg-gpg-process-region
Date: Thu, 27 Feb 2003 22:44:05 +0100	[thread overview]
Message-ID: <84fzq9761m.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: <87smu9650w.fsf@alhambra.bioz.unibas.ch>

frank@kuesterei.ch (Frank Küster) writes:

> And exactly this call fails as soon as there is a $ sign in the
> passphrase. I do not know in fact wether that has anything to do with
> shell expansion. However, I just created a throw-away-key with the
> passphrase "Hallo", and I could sign without an error; with my real one,
> I still cannot.

I presume shell quoting issues.  You can start a process from within
Emacs with start-process.  I suggest that you use M-x ielm RET to
execute Lisp statements.  Then you can do the start-process.  Store
the result in a variable.  Then you can use that process to send it
some data using process-send-string.

(setq x (start-process "gpg-test" (get-buffer-create "*gpg-test*")
                       "gpg" "arg1" "arg2" ...))
(process-send-string x "pass$phrase\n")

Something like this.  Maybe you can snarf the start-process thingy
from the Gnus Lisp code.

-- 
A preposition is not a good thing to end a sentence with.



  reply	other threads:[~2003-02-27 21:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-25  9:11 Problems with signing Mails Frank Küster
2003-02-25 13:27 ` Simon Josefsson
2003-02-25 14:20   ` Bug in pgg-gpg-process-region (was: Problems with signing Mails) Frank Küster
2003-02-27 16:51     ` Bug in pgg-gpg-process-region Frank Küster
2003-02-27 21:44       ` Kai Großjohann [this message]
2003-02-28  9:39         ` Frank Küster
2003-02-28 13:04           ` Kai Großjohann
2003-02-27 23:56       ` Satyaki Das
2003-02-28  9:37         ` Frank Küster
2003-02-28 18:04           ` Satyaki Das
2003-03-03  9:19             ` Frank Küster
2003-03-18 13:18             ` Frank Küster

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=84fzq9761m.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@uni-duisburg.de \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).