mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
36 lines
1.4 KiB
Gherkin
36 lines
1.4 KiB
Gherkin
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
@apps @monkeysphere @backups
|
|
Feature: Monkeysphere
|
|
Import and publish OpenPGP keys for SSH and HTTPS keys
|
|
|
|
Background:
|
|
Given I'm a logged in user
|
|
And advanced mode is on
|
|
And the monkeysphere application is installed
|
|
And the domain name is set to mydomain.example
|
|
|
|
Scenario: Import SSH keys
|
|
When I import SSH key for mydomain.example in monkeysphere
|
|
Then the SSH key should imported for mydomain.example in monkeysphere
|
|
|
|
Scenario: Import HTTPS keys
|
|
When I import HTTPS key for mydomain.example in monkeysphere
|
|
Then the HTTPS key should imported for mydomain.example in monkeysphere
|
|
|
|
Scenario: Publish SSH keys
|
|
Given the SSH key for mydomain.example is imported in monkeysphere
|
|
Then I should be able to publish SSH key for mydomain.example in monkeysphere
|
|
|
|
Scenario: Publish HTTPS keys
|
|
Given the HTTPS key for mydomain.example is imported in monkeysphere
|
|
Then I should be able to publish HTTPS key for mydomain.example in monkeysphere
|
|
|
|
Scenario: Backup and restore monkeysphere
|
|
When I import SSH key for mydomain.example in monkeysphere
|
|
And I import HTTPS key for mydomain.example in monkeysphere
|
|
And I create a backup of the monkeysphere app data
|
|
And I restore the monkeysphere app data backup
|
|
Then the SSH key should imported for mydomain.example in monkeysphere
|
|
And the HTTPS key should imported for mydomain.example in monkeysphere
|