This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Gnome Keyring System Dialogs

In many cases gnome-keyring uses system modal dialogs to prompt for passwords or other information. The overriding principal is to prompt as little as possible, and when possible during prompting offer the option to save the password or response for future automatic use.

Use cases

Unlocking a keyring:

SSH key password:

SSH key access:

TODO: other use cases: new pin for smart card, new password for keyring, etc...

Design

As passwords for keyrings, PINs for smart cards and access confirmation for key use, be prompted for, the architecture design must be generic enough to handle these various use cases.

Ascii art:

 --------------------------------------------------------
 | ------                                               |
 | |ICON|     Request for password                      |
 | ------                                               |
 |            Description of what the password is       |
 |            needed for                                |
 |                                                      |
 |            Password: [ xxxx              ]           |
 |                      /Password was incorrect/        |
 |                      [x] Automatically unlock choice |
 |                                                      |
 | [Cancel]                               [Continue]    |
 --------------------------------------------------------

 --------------------------------------------------------
 | ------                                               |
 | |ICON|     Request for confirmation                  |
 | ------                                               |
 |            Long description                          |
 |                                                      |
 | [Cancel]                               [Continue]    |
 --------------------------------------------------------

https://github.com/gnome-design-team/gnome-mockups/raw/master/credentials/keychain-unlock.png

https://github.com/gnome-design-team/gnome-mockups/raw/master/credentials/ssh-passphrase.png

https://github.com/gnome-design-team/gnome-mockups/raw/master/credentials/kerberos-password.png

Architecture


2024-10-23 11:37