Skip to content

Upgrade to OnePassword 2.30.0 #80

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

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Upgrade to OnePassword 2.30.0 #80

merged 1 commit into from
Oct 16, 2024

Conversation

aerickson14
Copy link
Contributor

What does this PR do?

Currently this action is failing trying to sign in. After some investigation, it seems version 1.x has been deprecated and that version is not expected to work after October 1, 2024.

Following the migration guide this action was updated to use version 2.30.0 of the OnePassword CLI and the api endpoint names were updated to use the new format.

npm run package was run to create the new distribution and npm test was run to verify tests pass.

Once this PR has been approved and merged we can add a git tags v3.0.0 and 3.0.0 so that projects can update to use this new version.

Did you update the Changelog?

  • Changelog updated

@aerickson14 aerickson14 requested review from rnp-bradpf and removed request for rnp-bradpf October 15, 2024 18:02
@aerickson14 aerickson14 marked this pull request as draft October 15, 2024 18:21
@aerickson14 aerickson14 force-pushed the onepassword-upgrade branch 27 times, most recently from e6b7cd3 to 6645cdd Compare October 15, 2024 23:37
@aerickson14 aerickson14 force-pushed the onepassword-upgrade branch 12 times, most recently from 86c1a70 to 1f564a6 Compare October 16, 2024 16:01
@aerickson14 aerickson14 marked this pull request as ready for review October 16, 2024 16:02
Copy link
Contributor

@rnp-bradpf rnp-bradpf left a comment

Choose a reason for hiding this comment

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

Looks good nice work! Just a couple of questions


let extracted: string
if (platform === 'darwin') {
Copy link
Contributor

Choose a reason for hiding this comment

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

Question: Does this mean we are no longer verifying the binary on MacOS? I assume the action itself still functions as expected on the darwin platform?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had to switch to using the .zip file because the .pkg no longer has a /Payload file given that the pkg version is now a (Mac) universal distribution.

I spent some time trying to figure out if we could still do verification on the zip file but wasn't able to find a solution. If in the future we are able to do this type of verification it would be great to add it back.

@aerickson14 aerickson14 merged commit 44f62ea into main Oct 16, 2024
5 checks passed
@aerickson14 aerickson14 deleted the onepassword-upgrade branch October 16, 2024 16:26
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.

2 participants