* pgg-passphrase-cache-expiry
@ 2007-09-20 21:11 Luedde, Mirko
2007-09-20 23:00 ` pgg-passphrase-cache-expiry Daiki Ueno
0 siblings, 1 reply; 2+ messages in thread
From: Luedde, Mirko @ 2007-09-20 21:11 UTC (permalink / raw)
To: emacs-pretest-bug
Hi there,
the `pgg' library seems to have a problem with cache expiry.
If the key is sufficiently long, then the cache will not expire:
> pgg-passphrase-cache-expiry
> 16
>
> (pgg-add-passphrase-to-cache "1234567890abcdefghijklmnopqrstuvwxyz"
"mirko")
> [nil 18162 57301 836000 nil pgg-remove-passphrase-from-cache
("90abcdefghijklmnopqrstuvwxyz" nil) nil]
>
> (pgg-add-passphrase-to-cache "1234567" "mirko")
> [nil 18162 57304 239000 nil pgg-remove-passphrase-from-cache
("1234567" nil) nil]
>
> ;; after 16 secs
>
> (pgg-read-passphrase-from-cache "1234567")
> nil
>
> (pgg-read-passphrase-from-cache
"1234567890abcdefghijklmnopqrstuvwxyz")
> "mirko"
Perhaps it has to do with key truncation. While the docs say key will
be truncated to 8 trailing characters, key will be truncated off 8
leading characters.
Regards, Mirko.
If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/tools/emacs-22-0-50/etc/DEBUG for instructions.
In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
of 2006-05-14 on NEUTRINO
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags
-Ic:/Programme/GnuWin32/include'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
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: DEU
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
show-paren-mode: t
display-time-mode: t
encoded-kbd-mode: t
tooltip-mode: t
auto-compression-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
a f t e r SPC 2 0 SPC s e c s C-a <up> <up> <return>
<up> ( p g g <backspace> <backspace> <backspace> <backspace>
p g g - C-h v p g g - c a <tab> <tab> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> p a
s s <tab> - <tab> C-a C-k C-g <backspace> <backspace>
<backspace> <backspace> C-y C-j C-d C-e C-a <return>
C-e C-j <down> C-e C-j <down> <down> <return> <help-echo>
C-e <help-echo> <help-echo> C-j <down> C-e C-j <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <report-emacs-bug>
Recent messages:
Loading .ilisp...
Loading `~/setup/gnu-emacs/.ilisp.el'
Loaded `~/setup/gnu-emacs/.ilisp.el'
Loading .ilisp...done
Loaded `.emacs.el'
For information about the GNU Project and its goals, type C-h C-p.
Mark set [2 times]
Quit
Mark set
Loading emacsbug...done
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: pgg-passphrase-cache-expiry
2007-09-20 21:11 pgg-passphrase-cache-expiry Luedde, Mirko
@ 2007-09-20 23:00 ` Daiki Ueno
0 siblings, 0 replies; 2+ messages in thread
From: Daiki Ueno @ 2007-09-20 23:00 UTC (permalink / raw)
To: Luedde, Mirko; +Cc: emacs-pretest-bug
2007/9/21, Luedde, Mirko <mirko.luedde@sap.com>:
> Hi there,
>
> the `pgg' library seems to have a problem with cache expiry.
> If the key is sufficiently long, then the cache will not expire:
[...]
> Perhaps it has to do with key truncation. While the docs say key will
> be truncated to 8 trailing characters, key will be truncated off 8
> leading characters.
[...]
> In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
> of 2006-05-14 on NEUTRINO
This is fixed in 22.1.
See http://article.gmane.org/gmane.emacs.devel/57512.
Regards,
--
Daiki Ueno
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-20 23:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 21:11 pgg-passphrase-cache-expiry Luedde, Mirko
2007-09-20 23:00 ` pgg-passphrase-cache-expiry Daiki Ueno
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.