DEP0090:GCM 身份验证标签长度无效


¥DEP0090: Invalid GCM authentication tag lengths

类型:生命结束

¥Type: End-of-Life

Node.js 用于支持调用 decipher.setAuthTag() 时 OpenSSL 接受的所有 GCM 身份验证标记长度。从 Node.js v11.0.0 开始,只允许 128、120、112、104、96、64 和 32 位的身份验证标记长度。根据 NIST SP 800-38D,其他长度的身份验证标签无效。

¥Node.js used to support all GCM authentication tag lengths which are accepted by OpenSSL when calling decipher.setAuthTag(). Beginning with Node.js v11.0.0, only authentication tag lengths of 128, 120, 112, 104, 96, 64, and 32 bits are allowed. Authentication tags of other lengths are invalid per NIST SP 800-38D.