Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v5] Require User IDs to be objects; refactor UserIDPacket #1187

Merged
merged 5 commits into from Jan 6, 2021

Conversation

larabr
Copy link
Collaborator

@larabr larabr commented Dec 14, 2020

  • openpgp.generateKey now expects userIds in object format (strings are no longer supported)
  • Remove util.parseUserId and util.formatUserId
  • Replace UserIDPacket#format with UserIDPacket.fromObject

src/packet/userid.js Outdated Show resolved Hide resolved
@larabr larabr marked this pull request as ready for review January 5, 2021 13:09
@twiss twiss changed the title [v5] Refactor UserIdPacket [v5] Require User IDs to be objects; refactor UserIDPacket Jan 6, 2021
@twiss twiss merged commit 0b2f1ee into openpgpjs:v5 Jan 6, 2021
larabr added a commit that referenced this pull request Jan 13, 2021
- `openpgp.generateKey` now expects `userIds` in object format
  (strings are no longer supported)
- Remove `util.parseUserId` and `util.formatUserId`
- Replace `UserIDPacket#format` with `UserIDPacket.fromObject`
larabr added a commit that referenced this pull request Jan 13, 2021
- `openpgp.generateKey` now expects `userIds` in object format
  (strings are no longer supported)
- Remove `util.parseUserId` and `util.formatUserId`
- Replace `UserIDPacket#format` with `UserIDPacket.fromObject`
twiss pushed a commit that referenced this pull request Jan 20, 2021
- `openpgp.generateKey` now expects `userIds` in object format
  (strings are no longer supported)
- Remove `util.parseUserId` and `util.formatUserId`
- Replace `UserIDPacket#format` with `UserIDPacket.fromObject`
twiss pushed a commit that referenced this pull request Jan 24, 2021
- `openpgp.generateKey` now expects `userIds` in object format
  (strings are no longer supported)
- Remove `util.parseUserId` and `util.formatUserId`
- Replace `UserIDPacket#format` with `UserIDPacket.fromObject`
twiss pushed a commit that referenced this pull request Feb 9, 2021
- `openpgp.generateKey` now expects `userIds` in object format
  (strings are no longer supported)
- Remove `util.parseUserId` and `util.formatUserId`
- Replace `UserIDPacket#format` with `UserIDPacket.fromObject`
@larabr larabr deleted the userid-no-strings branch June 10, 2021 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants