Re: kauth testing?

2016-04-04 Thread René J . V . Bertin
Martin Graesslin wrote:



> did it build the mac or the fake backend?

On OS X, the Mac backend, and the polkit-qt-1 backend on Linux.

I'm not 100% sure of the exact error on OS X because the notification popups 
don't work properly (they just show the title/caption). That's another point; I 
don't know if those notifications are posted by KAuth or by smb4k. Smb4k looks 
very much like a work in progress, so I'm inclined to put the blame there 
rather 
than with either KAuth or KNotifications but I'm not familiar enough with those 
frameworks to be affirmative about that.

>> Is there a simple test app I could download and use to test this?
> 
> Doesn't look like it, At least I didn't find any in the src repository.

That was my impression too. Then how about a "real-life" application that's 
known to work and not too tightly coupled to Plasma nor too demanding to build 
in terms of dependencies?

A propos that: does the KAuth mechanism actually work in the kwallet kcm 
provided by kwalletmanager, under a Plasma5 session? I still only see a call to 
KCModule::authAction() but cannot find a corresponding call to setAuthAction(), 
nor any use of "org.kde.kcontrol.kcmkwallet5.save" (defined in the 
kwallet.action 
file that's registered via kauth_install_actions).

Cheers,
René

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: kauth testing?

2016-04-03 Thread Martin Graesslin
On Sunday, April 3, 2016 9:29:55 AM CEST René J.V. Bertin wrote:
> Hi,
> 
> KAuth doesn't come with anything but a few unittests that do not appear to
> attempt an actual authentication. I build my K*5 stuff for installation
> into /opt/local, under OS X and under KUbuntu 14.04 (i.e. a KDE4 desktop).
> That excludes almost everything related to Plasma5 desktops and I only know
> of the kwallet kcm which is supposed to use KAuth to unlock the
> configuration settings ... something that as far as I understand the code
> was never implemented completely so I had to disable the feature with a
> patch in order to be able to use the kcm.
> 
> Now I installed smb4k git/master and see InvalidActionErrors each time I
> attempt to authenticate which of course raises the question if my KAuth
> build isn't broken.

did it build the mac or the fake backend?

> 
> Is there a simple test app I could download and use to test this?

Doesn't look like it, At least I didn't find any in the src repository.

Cheers
Martin

signature.asc
Description: This is a digitally signed message part.
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


kauth testing?

2016-04-03 Thread René J . V . Bertin
Hi,

KAuth doesn't come with anything but a few unittests that do not appear to 
attempt an actual authentication.
I build my K*5 stuff for installation into /opt/local, under OS X and under 
KUbuntu 14.04 (i.e. a KDE4 desktop). That excludes almost everything related to 
Plasma5 desktops and I only know of the kwallet kcm which is supposed to use 
KAuth to unlock the configuration settings ... something that as far as I 
understand the code was never implemented completely so I had to disable the 
feature with a patch in order to be able to use the kcm.

Now I installed smb4k git/master and see InvalidActionErrors each time I 
attempt to authenticate which of course raises the question if my KAuth build 
isn't broken.

Is there a simple test app I could download and use to test this?

Thanks,
René
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel