Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# bedrock-web-authn-token ChangeLog

## 7.0.1 - 2025-mm-dd

### Fixed
- Fix bug with pbkdf2 expression of salt parameter.

## 7.0.0 - 2023-10-16

### Changed
Expand Down
4 changes: 2 additions & 2 deletions lib/pbkdf2.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2018-2022 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2018-2025 Digital Bazaar, Inc. All rights reserved.
*/
import * as base64url from 'base64url-universal';
import crypto from './crypto.js';
Expand Down Expand Up @@ -72,7 +72,7 @@ function _serializePhc({phc}) {
}

function _fromBase64NoPad(string) {
return base64url.decode(string.replace(/\+/g, '-').replace(/\//, '_'));
return base64url.decode(string.replace(/\+/g, '-').replace(/\//g, '_'));
}

function _toBase64NoPad(buffer) {
Expand Down
Loading