Need to support *secure* credential storage in non-X environments!

Bug #1686426 reported by Stefan Paetow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Moonshot ID Selector
Fix Released
Wishlist
Unassigned

Bug Description

Currently, the only way to support non-X environments is by storing credentials in the identities.txt that is locked down to the user in question. However, for several of the organisations currently evaluating Moonshot, this is not acceptable. They expect the same level of security (i.e. secure credential storage in encrypted keyrings) from a non-X environment as they have in an X environment.

The only way that I see us being able to resolve this is by treating Moonshot UI in a text environment as a TSR (terminate & stay resident) that is terminated on logout (or disconnection), providing an ncurses-based/ncurses-style 'UI' during credential prompting to unlock the keyring and then provide a credential.

But... the requirement exists, and we need to resolve this question.

Revision history for this message
Stefan Paetow (stefan-paetow) wrote :

From: Matthew Vernon <mv3 at SANGER.AC.UK>
Subject: Moonshot id selection in text-only consoles
Date: 27 April 2017 at 11:31:14 BST
To: MOONSHOT-DEV

[trimmed]

A couple of thoughts came up (largely not mine), and it was suggested that someone forward them to this list. Essentially, there are already a couple of solutions to this sort of problem already, most of the agent form, and we wondered if any of them could either be extended (e.g. have ssh-add also grok moonshot ids) or a similar model copied. The 2[0] approaches already used to solve similar problems are:

i) an init command a la kinit
ii) an agent a la ssh-add/ssh-agent or the gpg agent

If nothing else, perhaps people with gpg available could have something that lets them use the gpg-agent to decrypt a moonshot identity file into a tmpfs and let moonshot see that, perhaps?

It seems likely that some of our plausible use cases will be in environments where an X/Windows/OSX GUI window will be hard to come by.

Regards,

Matthew

[0] they're not that different in implementation, I think

Changed in moonshot-ui:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Margaret Cullen (mrw42) wrote :

This was released in October 2017.

Changed in moonshot-ui:
status: Confirmed → Fix Released
Revision history for this message
Alejandro Perez (alejandro-perez-mendez) wrote :

Was it? Could you provide more details? I had to implement a CLI UI that makes use of GnomeKerying because I thought *secure* storage of credentials for non-X was not supported at all.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.