diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-02-06 09:37:48 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-02-06 09:37:48 +0200 |
commit | 6461ea45a26d0858cd2205ba97c200239f531008 (patch) | |
tree | 0d824b05fc2cd2ed8d841bc38af89f0848b744ff /obnam.md | |
parent | ac460fecfa2795f1eeb2d2171b977e52af7dd24e (diff) | |
download | obnam2-6461ea45a26d0858cd2205ba97c200239f531008.tar.gz |
feat: client requires an HTTPS URL for server
Diffstat (limited to 'obnam.md')
-rw-r--r-- | obnam.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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 |