GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — crypto Cipher/Decipher validation issues · Issue #45189 · nodejs/node Closed Labels confirmed-bugIssues and PRs for confirmed bugs.cryptoIssues and PRs related to the crypto subsystem. DescriptionThis also affects Decipher methods. Here's an example: const { createCipheriv, randomBytes } = require('crypto'); const cipher = createCipheriv('aes-256-cbc', randomBytes(32), randomBytes(16)); cipher.update('test', 'utf-8', 'bad'); Gives an internal assertion:
const { createCipheriv, randomBytes } = require('crypto'); const cipher = createCipheriv('aes-256-cbc', randomBytes(32), randomBytes(16)); cipher.update('test', 'utf-8', 'utf-8'); cipher.final('bad'); Other issue: const { createCipheriv, randomBytes } = require('crypto'); const cipher = createCipheriv('aes-256-cbc', randomBytes(32), randomBytes(16)); let result = cipher.update('test', 'bad', 'hex'); result += cipher.final('hex'); console.log(result); Gives no error at all for the wrong input encoding. @nodejs/crypto Activity
MetadataMetadataAssigneesLabelsconfirmed-bugIssues and PRs for confirmed bugs.cryptoIssues and PRs related to the crypto subsystem. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |