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.】