kms: remember if a secret was saved without a master key

So we will be able to decrypt secret stored without a master key if a
such key is provided later
This commit is contained in:
Nicola Murino
2020-12-01 22:18:16 +01:00
parent 940836b25b
commit 87b51a6fd5
6 changed files with 144 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ openapi: 3.0.3
info:
title: SFTPGo
description: 'SFTPGo REST API'
version: 2.1.2
version: 2.1.3
servers:
- url: /api/v1
@@ -977,6 +977,9 @@ components:
type: string
additional_data:
type: string
mode:
type: integer
description: 1 means encrypted using a master key
S3Config:
type: object
properties: