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

open($fileName, password: given) broken #37

Closed
rotdrop opened this issue Nov 8, 2022 · 3 comments
Closed

open($fileName, password: given) broken #37

rotdrop opened this issue Nov 8, 2022 · 3 comments
Assignees

Comments

@rotdrop
Copy link
Contributor

rotdrop commented Nov 8, 2022

The square-brackets at the RHS must vanish:

$abilities[] = [BasicDriver::OPEN_ENCRYPTED];

Otherwise just specifying a password will lead to "array to string conversion" errors. Of course, the work-around is to specify options explicitly. I think this would be a good candidate for a hot-fix release.

Thx for this package!

@wapmorgan
Copy link
Owner

Still in WIP 1.1.8 version.
Will add, thx for feedback!

@rotdrop
Copy link
Contributor Author

rotdrop commented Nov 10, 2022

I think this is already fixed on the master branch by commit ccf0272

@wapmorgan wapmorgan self-assigned this Nov 11, 2022
@wapmorgan
Copy link
Owner

released in 1.1.8.

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

2 participants