Skip to content

Error generating previews in latest version #12

@davidrutland

Description

@davidrutland

Latest version:

Docker logs output:

Started development server: http://localhost:5000
Error generating preview: 198 | if(!forge.util.isArray(key)) {
199 | tmp = key;
200 | key = [];
201 |
202 | // key lengths of 16, 24, 32 bytes allowed
203 | var len = tmp.length();
^
TypeError: tmp.length is not a function. (In 'tmp.length()', 'tmp.length' is 8)
at (/app/node_modules/node-forge/lib/aes.js:203:19)
at new (/app/node_modules/node-forge/lib/cipher.js:118:18)
at (/app/node_modules/node-forge/lib/cipher.js:42:10)
at encrypt (/app/utilities/security.utility.ts:7:31)
at (/app/index.ts:294:26)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions