[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-active
Subject:    Re: Encryption stuff in need of solutions
From:       "Lamarque V. Souza" <lamarque () kde ! org>
Date:       2012-01-24 12:38:58
Message-ID: 201201241038.58502.lamarque () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Em Monday 23 January 2012, Marco Martin escreveu:
> On Monday 23 January 2012, Fania Bremmer wrote:
> > hmm, the only usecase where we need a "normal, non private" activity, is
> > when the user locks the screen with a private activity and doesnt insert
> > a pw - then he would be blocked on the lock screen, because of no
> > fallback. Second usecase would be the case that all activities are
> > private, then the user needs to enter these passwords to launch one
> > activity. If he doesnt enter any pw, what is displayed? Black screen?
> 
> boh, only way i see is having an activity that has just and empty and black
> containment, that pretends to be "no activity" and would be treated
> differently
> 
> no idea how to make the logic not overcomplicated and error prone, i really
> feel that as soon as there would be the concept of "no running activity"
> and/or all activities are encrypted the logic would *have* to become
> horribly more complex

	I still think we should implement my iidea from last week: "Well, best 
effort: if it is a private activity show a dialog with Ok and dismiss buttons. 
If the password is wrong, ask again and again until it is right or the user 
clicks on dismiss. The dismiss operation tries to find a non-private activity, 
if none is found then present a new dialog with "Create new activity" and 
shutdown buttons :-)" Maybe even a "back" button to allow trying to enter the 
private activity's password again.

	My idea is basically a small wizard to  guide the user in the choices 
he/she has available at the moment. We can even add an explanation text like 
"An activity is required to use this device and none is available at the 
moment. Please create a new activity." in the last dialog. We are overthinking 
a problem that does not have a good solution, PA does not work without an 
opened activity, so or we create one or we shut the device down. I think we 
should ask the user before creating a new activity, if you think otherwise 
then create the "default" activity. We can even add an explanation message in 
the middle of the activity's screen sayin why the user was logged into it, 
something like "You are logged into an default activity because all other 
activities are unavailable at the moment." There is nothing more we can do in 
my oppinion.

	Now that we are talking about passwords I realised that there is no 
simple way to change activities' passwords or recover them. We still can 
switch encryption off and then on in order to change the password, but for now 
to save the changes the user must click on the "Save changes" button, which 
closes the configuration dialog. I think switching encryption on and off 
should be immediate (not requiring click on the "Save changes" button).

-- 
Lamarque V. Souza
KDE's Network Management maintainer
http://planetkde.org/pt-br

[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" \
content="1" /><style type="text/css"> p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Tahoma'; font-size:12pt; font-weight:400; \
font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Em Monday \
23 January 2012, Marco Martin escreveu:</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; On Monday 23 January 2012, Fania Bremmer \
wrote:</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; \
hmm, the only usecase where we need a &quot;normal, non private&quot; activity, \
is</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; \
when the user locks the screen with a private activity and doesnt insert</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; a pw - then he \
would be blocked on the lock screen, because of no</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; &gt; fallback. Second usecase would be the \
case that all activities are</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; private, then the user needs to enter these passwords to \
launch one</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; \
activity. If he doesnt enter any pw, what is displayed? Black screen?</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; </p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; boh, only way i see is \
having an activity that has just and empty and black</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; containment, that pretends to be &quot;no \
activity&quot; and would be treated</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; differently</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; </p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; no idea how to make the logic not overcomplicated and error \
prone, i really</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; feel \
that as soon as there would be the concept of &quot;no running activity&quot;</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; and/or all activities \
are encrypted the logic would *have* to become</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; horribly more complex</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">	I still think we should \
implement my iidea from last week: &quot;Well, best effort: if it is a private \
activity show a dialog with Ok and dismiss buttons. If the password is wrong, ask \
again and again until it is right or the user clicks on dismiss. The dismiss \
operation tries to find a non-private activity, if none is found then present a new \
dialog with &quot;Create new activity&quot; and shutdown buttons :-)&quot; Maybe even \
a &quot;back&quot; button to allow trying to enter the private activity's password \
again.</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> \
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">	My idea is basically a small \
wizard to  guide the user in the choices he/she has available at the moment. We can \
even add an explanation text like &quot;An activity is required to use this device \
and none is available at the moment. Please create a new activity.&quot; in the last \
dialog. We are overthinking a problem that does not have a good solution, PA does not \
work without an opened activity, so or we create one or we shut the device down. I \
think we should ask the user before creating a new activity, if you think otherwise \
then create the &quot;default&quot; activity. We can even add an explanation message \
in the middle of the activity's screen sayin why the user was logged into it, \
something like &quot;You are logged into an default activity because all other \
activities are unavailable at the moment.&quot; There is nothing more we can do in my \
oppinion.</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> \
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">	Now that we are talking \
about passwords I realised that there is no simple way to change activities' \
passwords or recover them. We still can switch encryption off and then on in order to \
change the password, but for now to save the changes the user must click on the \
&quot;Save changes&quot; button, which closes the configuration dialog. I think \
switching encryption on and off should be immediate (not requiring click on the \
&quot;Save changes&quot; button).</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">-- </p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">Lamarque V. Souza</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">KDE's Network Management maintainer</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">http://planetkde.org/pt-br</p></body></html>



_______________________________________________
Active mailing list
Active@kde.org
https://mail.kde.org/mailman/listinfo/active


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic