GNU bug report logs -
#1798
23.0.60; easypg incompatible with tramp?
Previous Next
Reported by: trentbuck <at> gmail.com
Date: Tue, 6 Jan 2009 04:05:05 UTC
Severity: normal
Tags: moreinfo
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1798 in the body.
You can then email your comments to 1798 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1798
; Package
emacs
.
(Tue, 06 Jan 2009 04:05:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
trentbuck <at> gmail.com
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 06 Jan 2009 04:05:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
I tried to open a remote, encrypted file /ssh:foo:/bar/quux.txt.gpg.
When I do, it immediately pops up with this buffer:
Select recipents for encryption.
If no one is selected, symmetric encryption will be performed.
- `m' to mark a key on the line
- `u' to unmark a key on the line
[Cancel] [OK]
<list of keys>
It looks like easypg is trying to encrypt the file, instead of opening
it! I think this problem is because tramp starts by reading the
remote file in and writing it out to /tmp/<gibberish>.gpg.
In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
of 2009-01-04 on elegiac, modified by Debian
(emacs-snapshot package, version 1:20090103-1)
configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: C
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_AU.utf8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: rcirc
Minor modes in effect:
shell-dirtrack-mode: t
diff-auto-refine-mode: t
rcirc-track-minor-mode: t
savehist-mode: t
icomplete-mode: t
partial-completion-mode: t
show-paren-mode: t
delete-selection-mode: t
tooltip-mode: t
use-hard-newlines: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
SPC d i d SPC t h i s RET T h e SPC o t h e r SPC k
e y SPC i s SPC a l r e a d y SPC h e r e SPC i n SPC
- - l i s t - s e c r e t - k e y s RET C-x ESC O B
ESC O A RET C-x ESC O D I t ' s SPC j u s t SPC t h
a t SPC g p g SPC i s SPC f u c k i n g ESC b ESC b
ESC O D ESC O D ESC O C . e l ESC b ESC O D ESC O D
ESC O D ESC O D ESC O C n u ESC b C-k e a s y p g SPC
i s SPC a f DEL DEL f u c k i n SPC DEL g SPC s t u
p i d . RET A p p a r n e t l y SPC i t SPC ESC [ 1
~ C-k A p p a r e n t l y SPC i t SPC i s n ' t DEL
DEL DEL DEL DEL d o e s n ' t SPC w o r k SPC w i t
h SPC t r a m p RET ESC x r e p o r t SPC g b u C-g
C-x ESC O C C-@ ESC O B ESC O B ESC O B ESC O B ESC
w C-x ESC O D C-x ESC O C RET ESC x r e p o r t SPC
e m a c s SPC b u g RET
Recent messages:
Use M-x make-directory RET RET to create the directory and its parents
Wrote /tmp/tramp.2264yYr
Mark set
Quit
Wrote /tmp/tramp.2264_ix
Mark set [2 times]
windmove-do-window-select: No window left from selected window
windmove-do-window-select: No window up from selected window
Quit
Mark set
Quit
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1798
; Package
emacs
.
(Tue, 06 Jan 2009 07:00:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Trent W. Buck" <trentbuck <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 06 Jan 2009 07:00:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 1798 <at> emacsbugs.donarmstrong.com (full text, mbox):
I tried this to tell epa NOT to encrypt tramp's cache files, but it didn't work.
ELISP> (rx (or (not (any "/"))
(and "/" (not (any "t")))
(and "/t" (not (any "m")))
(and "/tm" (not (any "p")))
(and "/tmp" (not (any "/")))
(and "/tmp/" (not (any "t")))
(and "/tmp/t" (not (any "r")))
(and "/tmp/tr" (not (any "a")))
(and "/tmp/tra" (not (any "m")))
(and "/tmp/tram" (not (any "p")))
(and "/tmp/tramp" (not (any ".")))))
"[^/]\\|/[^t]\\|/t[^m]\\|/tm[^p]\\|/tmp[^/]\\|/tmp/[^t]\\|/tmp/t[^r]\\|/tmp/tr[^a]\\|/tmp/tra[^m]\\|/tmp/tram[^p]\\|/tmp/tramp[^.]"
ELISP> epa-file-name-regexp
"\\`\\([^/]\\|/[^t]\\|/t[^m]\\|/tm[^p]\\|/tmp[^/]\\|/tmp/[^t]\\|/tmp/t[^r]\\|/tmp/tr[^a]\\|/tmp/tra[^m]\\|/tmp/tram[^p]\\|/tmp/tramp[^.]\\).*\\([^/]\\|/[^t]\\)\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'"
ELISP>
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1798
; Package
emacs
.
(Fri, 09 Jan 2009 02:10:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Daiki Ueno <ueno <at> unixuser.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 09 Jan 2009 02:10:04 GMT)
Full text and
rfc822 format available.
Message #15 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
>>>>> In <4962d633.16be600a.5919.ffff9d75 <at> mx.google.com>
>>>>> trentbuck <at> gmail.com wrote:
> I tried to open a remote, encrypted file /ssh:foo:/bar/quux.txt.gpg.
> When I do, it immediately pops up with this buffer:
> Select recipents for encryption.
> If no one is selected, symmetric encryption will be performed.
> - `m' to mark a key on the line
> - `u' to unmark a key on the line
> [Cancel] [OK]
> <list of keys>
> It looks like easypg is trying to encrypt the file, instead of opening
> it! I think this problem is because tramp starts by reading the
> remote file in and writing it out to /tmp/<gibberish>.gpg.
I can't reproduce it here. Could you please try:
M-x debug-on-entry epa-file-write-region
to figure out which function calls `write-region' handler?
Regards,
--
Daiki Ueno
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1798
; Package
emacs
.
(Fri, 09 Jan 2009 02:10:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Daiki Ueno <ueno <at> unixuser.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 09 Jan 2009 02:10:06 GMT)
Full text and
rfc822 format available.
Tags added: moreinfo
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 15 Jan 2009 23:45:06 GMT)
Full text and
rfc822 format available.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#1798
; Package
emacs
.
(Fri, 08 Jul 2011 18:08:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 1798 <at> debbugs.gnu.org (full text, mbox):
"Trent W. Buck" <trentbuck <at> gmail.com> writes:
> I tried this to tell epa NOT to encrypt tramp's cache files, but it didn't work.
I've just checked with Emacs 24.0.50, it works without any
tweakings. Could you, please, retest?
Thanks, and best regards, Michael.
Reply sent
to
Michael Albinus <michael.albinus <at> gmx.de>
:
You have taken responsibility.
(Sun, 24 Jul 2011 10:04:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
trentbuck <at> gmail.com
:
bug acknowledged by developer.
(Sun, 24 Jul 2011 10:04:01 GMT)
Full text and
rfc822 format available.
Message #30 received at 1798-done <at> debbugs.gnu.org (full text, mbox):
Michael Albinus <michael.albinus <at> gmx.de> writes:
> I've just checked with Emacs 24.0.50, it works without any
> tweakings. Could you, please, retest?
No reply, so I close the bug. In case you disagree, you could reopen it.
Best regards, Michael.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 21 Aug 2011 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.