[EMAIL PROTECTED] ~ $ date ; echo ${Kurt V. Hindenburg}
Friday 04 July 2003 12:50 am
> Also, when trying to sign/encrypt stuff in kmail, a popup says "invalid
> passphrase" even though it did not ask me to input the passphrase. I
> found on goggle this is the common error.
Yep, that *was* the error with 0.6.7 (actually, it was "No passphrase.)
Perhaps a regression? Here's the patch (from portage)
---------CUT------------
--- pinentry/qt/main.cpp 2002/11/05 19:44:34 1.7
+++ pinentry/qt/main.cpp 2003/01/21 12:25:59 1.8
@@ -157,6 +157,12 @@
#ifdef FALLBACK_CURSES
if( pinentry_have_display (argc, argv) ) {
#endif
+ // Work around non-standard handling of DISPLAY
+ for( int i = 1; i < argc; ++i ) {
+ if( !strcmp( "--display", argv[i] ) ) {
+ argv[i] = "-display";
+ }
+ }
return qt_main( argc, argv );
#ifdef FALLBACK_CURSES
} else {
--- pinentry/qt/pinentrycontroller.cpp 2002/09/30 09:27:10 1.9
+++ pinentry/qt/pinentrycontroller.cpp 2003/01/21 12:25:59 1.10
@@ -56,6 +56,8 @@
assuan_set_malloc_hooks( secmem_malloc, secmem_realloc, secmem_free );
int rc = assuan_init_pipe_server( &_ctx, fds );
+ assuan_set_log_stream (_ctx, stderr);
+
if( rc ) {
qDebug(assuan_strerror( static_cast<AssuanError>(rc) ));
exit(-1);
---------CUT------------
Regards,
Norberto
pgp00000.pgp
Description: signature
