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

Update openpgp to 5.0.1 stable #12

Merged
merged 2 commits into from
Nov 18, 2021
Merged

Update openpgp to 5.0.1 stable #12

merged 2 commits into from
Nov 18, 2021

Conversation

jpogran
Copy link
Contributor

@jpogran jpogran commented Nov 17, 2021

Updated openpgp dependency to the 5.0.1 stable release. It also removes the del dependency as it is not used.

Updated openpgp dependency to the 5.0.0 stable release. It also removes the del dependency as it is not used.
@jpogran jpogran requested review from dbanck and radeksimko November 18, 2021 01:53
@jpogran jpogran marked this pull request as ready for review November 18, 2021 01:54
package.json Outdated Show resolved Hide resolved
@@ -215,10 +215,10 @@ export class Release {
]);
const publicKey = await openpgp.readKey({ armoredKey: hashiPublicKey });
const signature = await openpgp.readSignature({ binarySignature: Buffer.from(shasumsSignature, 'hex') });
const message = openpgp.Message.fromText(shasumsResponse);
const message = await openpgp.createMessage({ text: shasumsResponse });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if the old API also required await, if so that might explain the occasional "checksum mismatch" errors. 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. It appears it did not require an await, so that's a possibility

@jpogran jpogran changed the title Update openpgp to 5.0.0 stable Update openpgp to 5.0.1 stable Nov 18, 2021
@jpogran jpogran merged commit 3f0d2c6 into main Nov 18, 2021
@dbanck dbanck deleted the openpgp_update branch February 4, 2022 13:06
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.

3 participants