Ticket #6428 (new defect)

Opened 7 years ago

Last modified 4 years ago

Key Manager Control Panel.

Reported by: cscott Owned by: cscott
Priority: normal Milestone:
Component: security-user-interface Version:
Keywords: Cc: mstone, holt, Eben, tomeu, erikos
Action Needed: never set Verified: no
Deployments affected: Blocked By: #1502
Blocking:

Description

To make developer and activation key management easier, we should:

a) assign appropriate MIME types for activation and developer keys

b) write a "Key Manager" activity which owns these mime types, and which will be invoked when keys are 'resumed'.

c) The Key Manager will safely update the activation and developer keys in /security when invoked with new(er) keys.

d) The Key Manager will also provide feedback on expiration and perhaps be able to request new activation and developer keys (perhaps via a redirect through browse).

Change History

  Changed 7 years ago by cscott

Implementation detail posted from devel@:

In activity/mimetypes.xml:
<?xml version="1.0"?>
   <mime-info
xmlns="http://www.freedesktop.org/standards/shared-mime-info">
       <mime-type type="application/slides">
       <comment>View Slides Archive</comment>
       <glob pattern="*.slides"/>
   </mime-type>
</mime-info>

  Changed 7 years ago by tomeu

  • cc Eben, tomeu added

I guess Eben needs to be kept in the loop regarding all this.

I would suggest to not having an activity for managing keys unless we consider "managing keys" as an important "thing to do" from the user point of view.

What about putting this logic in the journal, sugar shell or control panel?

  Changed 7 years ago by Eben

The control panel will have a "Security" section. It seems that this would be a reasonable place to manage such keys. I agree that making it a full blown activity seems somewhat strange.

In the new Journal, we wouldn't necessarily need to expose the key as a file in the Journal; instead we could simply log the action "Installed a key which expires in..." to keep the record of it. The control panel seems the best place to actually manage this, though.

  Changed 7 years ago by cscott

I agree that this should eventually go in a graphical sugar-control-panel. In the short term, implementing this as an activity requires no changes to other parts of the system, and thus has no blocking requirements. We can fold this into a gui later, when the other requirements are in place. I don't imagine exposing the Key Manager as an activity; I think of it as a helper application like "Read".

It's not clear to me, necessarily, that "launching the control panel with a file" is an appropriate thing to do, while "launching the key manager with a key" makes sense (to me). But perhaps "launching the control panel with a file" would provide a means in general to apply classroom-wide settings, such as time zone. I don't have a strong opinion here.

To be clear, the motivating use case is "click a link to a lease file in Browse and have it installed". I'm open to other mechanisms to make this happen.

  Changed 7 years ago by Eben

  • cc erikos added

I feel like we've found a fair number of items that belong in the control panel, and we continue to implement alternative, inconsistent and non-intuitive solutions for them. I think we really need to buckle down, take a short term hit in terms of development time, and get a simple system set up for the control panel. Then we can spend time creating a "pane" for each section as necessary, in a consistent place, and with a consistent UI, so that people in the field can actually manage things in a reasonable way. Right now things are ad-hoc and inconsistent, and we're only making matters worse the longer we don't have a proper solution.

  Changed 6 years ago by gregorio

  • milestone deleted

Milestone Never Assigned deleted

  Changed 6 years ago by cscott

  • next_action set to never set
  • summary changed from Key Manager Activity. to Key Manager Control Panel.

Agreed that the sugar-control-panel is the right place for this now.

From my notes: provide antitheft control panel showing last check in, lease

expiration time, manual lease renewal, where-in-the-world-am-i? and dev key request button. also blacklist check.

follow-up: ↓ 9   Changed 6 years ago by cscott

Slight hitch: can a control panel associate itself with a mime-type? Can I send a dbus message to activate a control panel? How do I "click on a dev key" in Browse and install it, or click on it in the Journal and show it in the control panel view?

in reply to: ↑ 8   Changed 6 years ago by Eben

Replying to cscott:

Slight hitch: can a control panel associate itself with a mime-type? Can I send a dbus message to activate a control panel? How do I "click on a dev key" in Browse and install it, or click on it in the Journal and show it in the control panel view?

Well, for one thing, this should simply replace the ugliness of dealing with Browse to get a dev key. This module should tell you what the dev key is, let you request one if you want it, show the status while it's pending, and inform you once it's ready. It should never require loading up special pages in browse, let alone require the user to type in the path. (I should make mockups for this...you could assign this ticket to me for that/)

It's questionable how you want to handle the key as an "object". Right now, we do no such thing; there is no entry in the Journal that represents a file for a dev key. Perhaps we could add one. More likely, though, it seems we just want an entry that says (in the future Journal) "you requested|activated your dev key <key> today". If we start logging all preference changes ("you changed your colors", "you set a new preferred language", etc), then it would be reasonable to have a way for that entry to link to the appropriate module of the control panel. (In fact, we want similar behavior anyway so that the devices in the Frame can have a "More settings" button which jumps to the correct control panel module). But I think this is different than making the control panel a mime-type handler.

  Changed 6 years ago by cscott

So how do you backup/restore your dev key, if it's not in the journal?

There's also installing/updating a dev key or activation lease from a USB key; it seems strange to make the user use a different interface for this than they use for all other files on a USB key.

  Changed 6 years ago by cscott

  • blockedby 1502 added

This bug has been absorbed by #1502.

  Changed 5 years ago by alivenk

If you’re a dedicated follower of tiffany co like me. Don't miss the tiffany jewelry & co. on sale including pendants, necklace, earrings, bracelets on line. tiffany Jewelry is the one thing that outlasts the cake, champagne and music. links of london jewelry discount , famous for its sweetie and friendship bracelets.

Ed hardy designer, ed hardy shirts , is a brand of ed hardy, and now are favored in the moderning world as a mark of its nice tatoo by Christian Audigier.

Note: See TracTickets for help on using tickets.