You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might not be an issue, but I keep running into this problem. I am using graphene with Vormetric Data Security Manager. I am able to connect to the pkcs11 agent, create an encryption key and encrypt data. However every time I try to decrypt I get the following:
CKR_BUFFER_TOO_SMALL
graphene-pk11/build/crypto/decipher.js:25:32
Decipher.prototype.update = function (data) {
try {
var len = Math.ceil(data.length / this.blockSize) * this.blockSize;
var dec = new Buffer(len);
var res = this.lib.C_DecryptUpdate(this.session.handle, data, dec);
return res;
}
catch (e) {
try {
this.final();
}
catch (e) { }
throw e;
}
};
I believe this was a problem in the past that was already solved. I think it had to do with the calculation of the length. If anyone could help I would appreciate it.
The text was updated successfully, but these errors were encountered:
This might not be an issue, but I keep running into this problem. I am using graphene with Vormetric Data Security Manager. I am able to connect to the pkcs11 agent, create an encryption key and encrypt data. However every time I try to decrypt I get the following:
CKR_BUFFER_TOO_SMALL
graphene-pk11/build/crypto/decipher.js:25:32
I believe this was a problem in the past that was already solved. I think it had to do with the calculation of the length. If anyone could help I would appreciate it.
The text was updated successfully, but these errors were encountered: