stalwartlabs / mail-server

Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP)
https://stalw.art
3.53k stars 135 forks source link

[bug]: stalwart-cli does not verify key names when deleting, just reports success #553

Open EliRibble opened 6 days ago

EliRibble commented 6 days ago

What happened?

I misspelled a key name when using stalwart-cli server delete-config certificate.default.priv-ke. I was still told that the deletion was successful.

How can we reproduce the problem?

I can reproduce the problem by doing the following steps:

stalwart-cli server delete-config foobar

Version

v0.8.x

What database are you using?

RocksDB

What blob storage are you using?

RocksDB

Where is your directory located?

Internal

What operating system are you using?

Linux

Relevant log output

> Successfully deleted key certificate.default.priv-ke

Code of Conduct