feat(crypt): optional pre-generated thumbnails (#5284)

This commit is contained in:
Nick Wang
2023-09-27 13:57:10 +08:00
committed by GitHub
parent 6b67a36d63
commit fb13dae136
2 changed files with 7 additions and 1 deletions

View File

@ -19,6 +19,8 @@ type Addition struct {
Salt string `json:"salt" confidential:"true" help:"If you don't know what is salt, treat it as a second password. Optional but recommended"`
EncryptedSuffix string `json:"encrypted_suffix" required:"true" default:".bin" help:"for advanced user only! encrypted files will have this suffix"`
FileNameEncoding string `json:"filename_encoding" type:"select" required:"true" options:"base64,base32,base32768" default:"base64" help:"for advanced user only!"`
Thumbnail bool `json:"thumbnail" required:"true" default:"false" help:"enable thumbnail which pre-generated under .thumbnails folder"`
}
var config = driver.Config{