A folder with no signer name or key verifies Markdown and saves it unsigned (#8)

Co-authored-by: Danny Kim <temeddix@gmail.com>
Co-committed-by: Danny Kim <temeddix@gmail.com>
This commit was merged in pull request #8.
This commit is contained in:
Danny Kim
2026-09-26 02:27:50 +00:00
committed by temeddix
parent 6677e8ad72
commit 5e77f3ca67
6 changed files with 79 additions and 18 deletions
+8 -2
View File
@@ -19,11 +19,17 @@ It registers one provider, `signature`, for the `signed-webdav` scheme.
| Server address | `url` | The folder's address, for example `https://dav.example.com/files/` |
| Username | `username` | Optional account name for HTTP basic authentication |
| Password | `password` | Optional password, stored as a secret |
| Signer name | `ensName` | The ENS name that signs, for example `laptop.alice.eth` |
| Signing key | `privateKey` | The private key of the address that owns the name, stored as a secret |
| Signer name | `ensName` | Optional. The ENS name that signs, for example `laptop.alice.eth` |
| Signing key | `privateKey` | Optional. The private key of the address that owns the name, stored as a secret |
| Sepolia RPC address | `rpcUrl` | The endpoint used to check signers against ENS, by default `https://ethereum-sepolia-rpc.publicnode.com` |
| Trusted parent name | `trustedParent` | Optional. Only signers that are this name or one of its subnames count, for example `team.eth` |
Give the signer name and signing key together, or leave both empty for a
verify-only folder: reads still show a verdict, and a Markdown save is stored
unsigned, byte for byte except the verdict line, so a signature the file
already carries stays and an edit then reads as Tampered. Giving only one of
the two refuses the connection.
The connection's allowed hosts must include the RPC address's host as well as
the server's, or every check reads as Sepolia unreachable.