Skip to content

vault throws an exception (TypeError: this._cipher.deriveKeys is not a function) #36

@co-dan

Description

@co-dan

I have just downloaded the git version of vault to run on my machine. Running the executable produces the following error:

> vault test
/usr/local/lib/node_modules/vault/lib/loader.js:50
  this._cipher.deriveKeys(function(encryptionKey, signingKey) {
               ^

TypeError: this._cipher.deriveKeys is not a function
    at Loader.pathForService (/usr/local/lib/node_modules/vault/lib/loader.js:50:16)
    at Store.serviceSettings (/usr/local/lib/node_modules/vault/lib/store.js:219:16)
    at /usr/local/lib/node_modules/vault/node/composite_store.js:96:18
    at null.<anonymous> (/usr/local/lib/node_modules/vault/lib/store.js:132:14)
    at null.<anonymous> (/usr/local/lib/node_modules/vault/lib/loader.js:63:35)
    at ReadFileContext.callback (/usr/local/lib/node_modules/vault/node/file_adapter.js:22:32)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:303:13)

I tried updated the vault-cipher submodule, but it didn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions