From 24f9af7f26bf558ec92dedc86317a1267b169896 Mon Sep 17 00:00:00 2001 From: Paul Schwabauer Date: Wed, 5 Mar 2025 09:55:11 +0100 Subject: [PATCH] Add documentation for externally signed documents Closes #607 --- docs/csaf_uploader.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/csaf_uploader.md b/docs/csaf_uploader.md index 0e68aa9..76af99f 100644 --- a/docs/csaf_uploader.md +++ b/docs/csaf_uploader.md @@ -43,6 +43,12 @@ E.g. uploading a csaf-document which asks to enter a password interactively. +To upload an already signed document, use the `-x` option +```bash +# Note: The file CSAF-document-1.json.asc must exist +./csaf_uploader -x -a upload -I -t white -u https://localhost/cgi-bin/csaf_provider.go CSAF-document-1.json +``` + By default csaf_uploader will try to load a config file from the following places: