From koffice-devel Tue Sep 15 23:21:45 2009 From: Brad Hards Date: Tue, 15 Sep 2009 23:21:45 +0000 To: koffice-devel Subject: Re: store/TestStorage fails Message-Id: <200909160921.45327.bradh () frogmouth ! net> X-MARC-Message: https://marc.info/?l=koffice-devel&m=125305693807560 On Tuesday 15 September 2009 23:17:45 Thomas Zander wrote: > On Tuesday 15. September 2009 12.49.04 Brad Hards wrote: > > > Note: Thomas told me that this is caused by a misconfigured QCA on > > > Kubuntu, and indeed, on opensuse the test passes (as does the KoPa > > > test, actually). > > > > > > Note to self: we can probably detect the incorrect situation and handle > > > it runtime + it would be nice to have small checker app for packagers > > > to check whether qca is correctly packaged. > > > > Can we get some more details on the misconfiguration issue? > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514880 > > If there is a better place to report it let me know, Debian bugs I report > have a tendency to stay open until obsolete ;) Thomas: pbkdf2(sha1) and blowfish-cfb are supposed to be supported by the ossl plugin (also by gcrypt and botan plugins, but they don't appear to be packaged based on your bug report). I don't see anything in the debian patches that would cause either capability to be disabled. Can you show what "qcatool2 --debug plugins" shows for both systems? Justin: qcatool2 can show the providers, but not the supported operations. That might be useful with remote debugging of issues like this. Any thoughts on this patch? --- main.cpp (revision 1023091) +++ main.cpp (working copy) @@ -2699,6 +2699,7 @@ printf(" help|--help|-h This help text\n"); printf(" version|--version|-v Print version information\n"); printf(" plugins List available plugins\n"); + printf(" plugins -v List available plugins and capabilities\n"); printf(" config [command]\n"); printf(" save [provider] Save default provider config\n"); printf(" edit [provider] Edit provider config\n"); @@ -2891,6 +2892,19 @@ foreach(const QString &s, lines) printf(" %s\n", qPrintable(s)); } + if ((args.count() > 1) && (args[1] == "-v")) + { + QStringList capabilities = list[n]->features(); + foreach(const QString &capability, capabilities) + { + printf(" *%s", qPrintable(capability)); + if(!QCA::isSupported(qPrintable(capability), list[n]->name())) + { + printf("(NOT supported) - bug"); + } + printf("\n"); + } + } } } else _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel