diff --git a/config/dev-server-config.json b/config/dev-server-config.json index 3ffeb0dec..4d3be4394 100644 --- a/config/dev-server-config.json +++ b/config/dev-server-config.json @@ -186,6 +186,7 @@ "I_AGREE": "that encryption support hasn't been peer-reviewed, isn't finished, and its format might change.", "meta": "/encmeta/", "blobs": "/encblob/", + "metaIndex": { "type": "memory" }, "key": "000102030405060708090a0b0c0d0e0f" } }, diff --git a/pkg/blobserver/encrypt/encrypt.go b/pkg/blobserver/encrypt/encrypt.go index c01787c4f..60ffbedef 100644 --- a/pkg/blobserver/encrypt/encrypt.go +++ b/pkg/blobserver/encrypt/encrypt.go @@ -536,7 +536,7 @@ func init() { } func newFromConfig(ld blobserver.Loader, config jsonconfig.Obj) (bs blobserver.Storage, err error) { - metaConf := config.RequiredObject("meta") + metaConf := config.RequiredObject("metaIndex") sto := &storage{} agreement := config.OptionalString("I_AGREE", "") const wantAgreement = "that encryption support hasn't been peer-reviewed, isn't finished, and its format might change."