rmcrackan / Libation

Libation: Liberate your Library
GNU General Public License v3.0
2.75k stars 150 forks source link

password for Libation or audible #929

Open allyally007 opened 4 months ago

allyally007 commented 4 months ago

Hello- Please forgive my ignorance, but I am trying to open the software in my terminal on Mac. It's asking for a password, but i am unable to determine which password. i've tried my audible password, but it isn't working. What am I missing?

Thank you for your time. Ally

rmcrackan commented 4 months ago

Sadly, I'm not familiar with Mac. My Mac guy unfortunately left. He made this page and video before he left though. The only password Libation needs is for audible. Make sure the correct region is selected for your account.

If any other password is requested, it might be your OS asking to add new software. Does your computer have a login/password?

salixh5 commented 4 months ago

I use Libation (currently on v11.3.14.2) on a modern Mac with M2 chip. It works flawlessly without hitches. There is no need to use the terminal at any point for me.

The application is not signed, but you can just right-click on it and then click on open. The first time you do that with a new version, it will not immediately show you an option to open it. Just dismiss the dialog and do the same thing again (right-click->open), and then you will get an option to run the unsigned application. Takes about 10 seconds, you don't need to open the terminal or do anything complicated. This is also what Apple themselves tell you to do: https://support.apple.com/guide/mac-help/mh40616/mac

That being said, there is also an option to disable gatekeeper for an application bundle via the terminal. However I think the command on the readme page linked above is needlessly complicated and needs root. Do this instead: xattr -r -d com.apple.quarantine ~/Downloads/Libation.app Adjust the file path to the Libation.app on your computer if necessary. This is better than what the readme page tells you because it leaves Gatekeeper completely untouched. Instead of changing the security settings of macOS, it just changes the file attributes of the Libation application bundle so that Gatekeeper does no longer consider it a potentially malicious file.

rmcrackan commented 4 months ago

@jakob11git

Thank you so much for taking the time to parse out all this information for me. I'm not a Mac person and I really appreciate hearing better advice from someone who is. What do you think of this for the new 'install on mac' page:

Install Libation

If this doesn't work

You can add Libation as a safe app without touching Gatekeeper.

If this still doesn't work

CLHatch commented 4 months ago

@jakob11git

Thank you so much for taking the time to parse out all this information for me. I'm not a Mac person and I really appreciate hearing better advice from someone who is. What do you think of this for the new 'install on mac' page:

Install Libation

  • Download the file from the latest release and extract it.

    • Apple Silicon (M1, M2, ...): Libation.9.4.2-macOS-chardonnay-arm64.tgz
    • Intel: Libation.x.x.x-macOS-chardonnay-x64.tgz
  • Move the extracted Libation app bundle to your applications folder.
  • Right-click on Libation and then click on open
  • The first time, it will not immediately show you an option to open it. Just dismiss the dialog and do the same thing again (right-click -> open) then you will get an option to run the unsigned application. This takes about 10 seconds.

If this doesn't work

You can add Libation as a safe app without touching Gatekeeper.

  • Copy/paste/run the following command. Adjust the file path to the Libation.app on your computer if necessary. (You may be prompted to enter your password)
    xattr -r -d com.apple.quarantine ~/Downloads/Libation.app`
  • Close the terminal and use Libation!

If this still doesn't work

  • Copy/paste/run the following command (you'll be prompted to enter your password)

    sudo spctl --master-disable && sudo spctl --add --label "Libation" /Applications/Libation.app && open /Applications/Libation.app && sudo spctl --master-enable
  • Close the terminal and use Libation!

I'm not a Mac person either, but one suggestion to the above instructions would be to specify when you mean "Mac user password" and "Audible password", since it's already a point of confusion with some people.

rmcrackan commented 4 months ago

@CLHatch Good call. I edited my text above.

allyally007 commented 4 months ago

Thank you again for the resource, but I am still unsuccessful. in my application folder...right click OPEN for Libation and it creates Libation 2, and LIbation 3 etc...

i've moved back to attempting a password into Terminal, but neither my amazon/audible or Mac password unlocks anything.

what am i doing wrong?

On Sat, Jun 29, 2024 at 7:28 AM rmcrackan @.***> wrote:

@CLHatch https://github.com/CLHatch Good call. I edited my text above.

— Reply to this email directly, view it on GitHub https://github.com/rmcrackan/Libation/issues/929#issuecomment-2198143040, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJOMN55RFYP5NX73QCXTJDTZJ2R53AVCNFSM6AAAAABJ4VNWZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGE2DGMBUGA . You are receiving this because you authored the thread.Message ID: @.***>

salixh5 commented 4 months ago

@allyally007 You have to do right-click -> open with the Libation.app (the actual application), not with the compressed Zip file that you downloaded. Try to follow the updated instructions in full if you‘re having issues.

@rmcrackan Looks good. With the xattr command there is no sudo, so there‘s no way a user would be prompted to enter their password. There also seems to be a stray backtick at the end of that command in your copy. Good to see these instructions could be incorporated hope it helps some people.

rmcrackan commented 4 months ago

@jakob11git Thank you so much again for the help. The version with your latest notes is live -- https://github.com/rmcrackan/Libation/blob/master/Documentation/InstallOnMac.md

salixh5 commented 3 months ago

Not sure if this is the best place for this, but a heads-up that the right-click method that I described above is going away in macOS Sequoia which will be released to end users later this year: https://developer.apple.com/news/?id=saqachfa It seems like another non-Terminal based method to override Gatekeeper (going to "System Settings > Privacy & Security" and clicking a button there), will not be removed, so guidance could be adjusted accordingly after the Sequoia release.