Skip to content

Commit

Permalink
Fixes PeculiarVentures#379: Pass down crypto param in AuthenticatedSafe
Browse files Browse the repository at this point in the history
  • Loading branch information
zner0L committed May 30, 2023
1 parent 469c403 commit 4902a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AuthenticatedSafe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export class AuthenticatedSafe extends PkiObject implements IAuthenticatedSafe {
//#endregion

//#region Encrypt CMS EncryptedData using password
await cmsEncrypted.encrypt(currentParameters);
await cmsEncrypted.encrypt(currentParameters, crypto);
//#endregion

//#region Store result content in CMS_CONTENT_INFO type
Expand Down

0 comments on commit 4902a55

Please sign in to comment.