mirror of https://github.com/perkeep/perkeep.git
encrypt: use key metaIndex for index, not meta; that was used. fixes devcam server.
Change-Id: I483c696dcc3402537bec136f8847c17767760b3b
This commit is contained in:
parent
2a781196e7
commit
62fbbb61a0
|
@ -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"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue