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

Accessibility Issue #3

Open
ErinAmalie opened this issue Feb 8, 2018 · 5 comments
Open

Accessibility Issue #3

ErinAmalie opened this issue Feb 8, 2018 · 5 comments

Comments

@ErinAmalie
Copy link

screen shot 2018-02-08 at 11 50 37 am

I've tried to run the script twice but I am being asked for my password every time. I followed the provided directions and gave script editor full access before running the script. Any advice?
@lifepillar
Copy link
Owner

I'm afraid something has changed with recent macOS updates. If you inspect a keychain item (select it in Keychain.app, then File > Get Info > Access Control), it is likely that “Confirm before allowing access” is selected, but “Ask for a keychain password” is not. Despite that, it seems that now the system asks for a password anyway. I'll see whether a fix is possible, but I can't promise anything.

@joel-daros
Copy link

Same issue here. Let me known if there is any workaround.

@dmblack
Copy link

dmblack commented Jun 11, 2018

@ErinAmalie @lifepillar @MrSparklle

Managed to export following information found at Original Source Export Script

You can verify this is the original source as linked in README.md

It was still fiddly, especially as it was initially asking for the 'destination' keychain password, then the source keychain password.

I basically started the copy, provided the first 'destination' keychain password, then started the script.

@lifepillar
Copy link
Owner

Thanks for link! I’ll take a look later.

lifepillar added a commit that referenced this issue Jun 11, 2018
@lifepillar
Copy link
Owner

lifepillar commented Jun 11, 2018

Please try the current master, which implements the fix suggested by @dmblack. It works for me in macOS 10.13.5, although it is a bit of a nuisance if you type the wrong password (the script goes into a loop by repeatedly entering the wrong password into a SecurityAgent dialog: it that happens, try to stop the script in Script Editor). Also, review the Readme.

Thanks @dmblack!

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