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

Can't upgrade cackey #6

Open
bengooch7 opened this issue May 17, 2022 · 7 comments
Open

Can't upgrade cackey #6

bengooch7 opened this issue May 17, 2022 · 7 comments
Assignees

Comments

@bengooch7
Copy link
Collaborator

bengooch7 commented May 17, 2022

Currently a hold is placed on the cackey package so that it isn't upgraded past version 0.7.5-1. Upgrading cackey breaks the functionality of this automation script.

Issues with this:

  • Annoying warning from apt reminding you that a package is being held back
  • Users can't upgrade their OS with packages held back and would need to either upgrade the package manually or remove it in order to upgrade OS versions. This breaks the functionality of CAC support across browsers.

NOTE: this can be fixed by removing cackey and rerunning this script, whch will reinstall the currently supported version and place the cackey package on hold again.

This method was the fastest way to provide a consistent solution. In the future, this will be remedied.

@Robaire
Copy link

Robaire commented Jun 14, 2022

Is there any reason that the location of the library must be in /usr/lib/libcackey.so/? Can the automation script simply be changed? Or a simlink to the new location placed in /usr/lib?

@bengooch7
Copy link
Collaborator Author

Hey Robaire,

I'm still looking into this. We recognize that holding back a package is not idea and it is high on our list of things to address.
I've poked this bear a little. I did try symlinks as well as setting different locations for the installation of the updated Cackey package.

Once this is addressed, we'll merge the change to the main branch.

@jdjaxon
Copy link
Owner

jdjaxon commented Jun 14, 2022

In all the testing that Ben mentioned, the browser either wouldn't identify the CAC middleware or it would cause the browser to freeze/crash. As mentioned, fixing this is on our todo list, but our primary focus is creating a stable script that accomodates both Firefox and Chrome. The fixes for Firefox on 22.04 will be merged soon, and we will then shift our focus to this issue.

@Robaire
Copy link

Robaire commented Jun 14, 2022

Ah okay. So there is a breaking change in the newer version itself, not just the fact that it has moved.

@bengooch7
Copy link
Collaborator Author

bengooch7 commented Jun 14, 2022 via email

@rquarry
Copy link

rquarry commented Oct 28, 2022

or it would cause the browser to freeze/crash

I believe you'll find that the Firefox crashing with versions > 7.5 issue is that the library isn't compiled with zlib support. Use ldd libcackey.so to check whether zlib support is included. Compiling from source with zlib-dev files fixes this issue. I'm currently running the library out of /lib64 with no issues.

@jdjaxon
Copy link
Owner

jdjaxon commented Oct 28, 2022

or it would cause the browser to freeze/crash

I believe you'll find that the Firefox crashing with versions > 7.5 issue is that the library isn't compiled with zlib support. Use ldd libcackey.so to check whether zlib support is included. Compiling from source with zlib-dev files fixes this issue. I'm currently running the library out of /lib64 with no issues.

Thank you! I'll look into a way to integrate this once I have time.

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

No branches or pull requests

4 participants