Skip to content

Commit

Permalink
Fix OID serialName to serialNumber.
Browse files Browse the repository at this point in the history
- OID 2.5.4.5 should be `serialNumber`.
  • Loading branch information
davidlehn committed Dec 28, 2021
1 parent c0bb359 commit 6a10f7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ Forge ChangeLog
### Added
- OIDs for `surname`, `title`, and `givenName`.

### Fixed
- **BREAKING**: OID 2.5.4.5 name fixed from `serialName` to `serialNumber`.
Depending on how applications used this id to name association it could cause
compatibility issues.

## 0.10.0 - 2020-09-01

### Changed
Expand Down
2 changes: 1 addition & 1 deletion lib/oids.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ _IN('2.16.840.1.101.3.4.1.42', 'aes256-CBC');
// certificate issuer/subject OIDs
_IN('2.5.4.3', 'commonName');
_IN('2.5.4.4', 'surname');
_IN('2.5.4.5', 'serialName');
_IN('2.5.4.5', 'serialNumber');
_IN('2.5.4.6', 'countryName');
_IN('2.5.4.7', 'localityName');
_IN('2.5.4.8', 'stateOrProvinceName');
Expand Down

0 comments on commit 6a10f7c

Please sign in to comment.