From 6461ea45a26d0858cd2205ba97c200239f531008 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 6 Feb 2021 09:37:48 +0200 Subject: feat: client requires an HTTPS URL for server --- obnam.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'obnam.md') diff --git a/obnam.md b/obnam.md index 6e9085c..47839c7 100644 --- a/obnam.md +++ b/obnam.md @@ -1001,6 +1001,25 @@ server_url: https://backup.example.com ~~~ +## Client requires https + +This scenario verifies that the client rejects a configuration with a +server URL using `http:` instead of `https:`. + + +~~~scenario +given an installed obnam +and file http.yaml +when I try to run obnam --config http.yaml config +then command fails +then stderr contains "https:" +~~~ + +~~~{#http.yaml .file .yaml .numberLines} +root: live +server_url: http://backup.example.com +~~~ + # Acceptance criteria for Obnam as a whole The scenarios in this chapter apply to Obnam as a whole: the client -- cgit v1.2.1