Closed AnotherProksY closed 3 years ago
Thank you for pointing out this issue. Unforrunately, I have no M1 based Mac. However, recent news pointed out that there is an issue with Universal Clipboard with M1 Macs. Could you try turning Universal Clipboard off and see if the issue persists?
Still not working after disabling Handoff feature
:(
Hi,
I update Pass for macOS today. Could you update and check if it is still not working?
Hi!
Still doesn't work with or without Handoff. Two problems:
tab + enter
(tab to select an option + enter to actually press to save the password)When I use Enter
, the popup menu disappears as if clicked out outside the window.
This behaviour were here before update too.
This is strange. And you say using an Intel Mac it works for you? Unfortunately, I have no M1 Mac to look into this deeper. Could you use the Console.app and send me a console dump filtered by de.artursterz.passformacos? Maybe I can find something there.
Sure.
Mouse click in Safari pop-up shows this error:
identifier=de.artursterz.passformacos.extension, pid=5497, auid=501, euid=501, binary_path=/Applications/Pass for macOS.app/Contents/PlugIns/extension.appex/Contents/MacOS/extension attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
And 5 same error messages after previous error:
RBSStateCapture remove item called for untracked item 541-96603-122245 (target:[xpcservice<de.artursterz.passformacos.extension([app<application.com.apple.Safari.3420439.3420446(501)>:96603])(501)>:5497])
Okay, this tells me, that for some reason macOS on your system thinks that Pass for macOS should have the entitlement for the Accessibility features in macOS. However, Pass for macOS does not require these features at all, so I am not sure why this happens. Maybe Apple changed some APIs I am using for M1 Macs, but I don't know.
Some things to test:
pass
installation work from your Terminal? If not, make sure it does.codesign --verify --verbose /Applications/Pass\ for\ macOS.app/
in your Terminal and check if the signature is detected correctly. Maybe you can post the results here.spctl --assess --verbose /Applications/Pass\ for\ macOS.app/
codesign --force --deep -s - /Applications/Pass\ for\ macOS.app
I will have access to a M1 Mac on friday. I will test Pass for macOS there and see if I can find out anything else.
codesign --verify --verbose /Applications/Pass\ for\ macOS.app/
:
/Applications/Pass for macOS.app/: valid on disk
/Applications/Pass for macOS.app/: satisfies its Designated Requirement
spctl --assess --verbose /Applications/Pass\ for\ macOS.app/
:
objc[14913]: Class SPExecutionPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[14913]: Class AppWrapper is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[14913]: Class AppWrapperPolicyResult is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[14913]: Class AppWrapperPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[14913]: Class SPLog is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[14913]: Class MIS is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[14913]: Class SPExecutionHistoryItem is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[14913]: Class SPExecutionPolicyItem is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[14913]: Class SPDeveloperPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[14913]: Class GKScanResult is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
/Applications/Pass for macOS.app/: accepted
source=Developer ID
codesign --force --deep -s - /Applications/Pass\ for\ macOS.app
:
/Applications/Pass for macOS.app: replacing existing signature
Hope this helps!
Hi,
I had today the chance to get my hands on a M1 Mac and I think I found the problem, which is quite stupid.
Turns out, that the default installation path for software installed with brew
is different on M1 Macs.
This results in the problem, that the pinentry program can not be found.
So, here is my proposed solution:
pinentry-program /usr/local/bin/pinentry-mac
to~/.gnupg/gpg-agent.conf
Please run which pinentry-mac
in your terminal and replace the new path with the old path in your ~/.gnupg/gpg-agent.conf
gpgconf --kill gpg-agent
Now give it try. Hopefully, it will work now. Please let me know whether it is working or not, so I can adjust the README accordingly.
Sorry, accidentally closed the issue.
I don't think that problem relates to pinentry
, because it worked some time before several Big Sur updates. It already was set with correct path in gpg-agent.conf
.
The actual problem with click behaviour. It seems that it can't select an option when I click or use Enter
.
Hello. I have M1 MacBook and I have no problems at all. If you installed pinentry from Homebrew, gpg-agent.conf
must look like this pinentry-program /opt/homebrew/bin/pinentry-mac
.
Offtop. @adur1990 it is possible to do search for login field in whole password file and not only on second line?
@dimarei I'm glad it is working for you. Regarding the password file organisation: no, it is not. But you can create a feature request if you would like to see this feature.
I am closing this issue due to inactivity. Feel free to open it again.
I am closing this issue due to inactivity. Feel free to open it again.
Having the same issue on my M1 machine, would love to help test any solutions. Pass for macOS is able to list the passwords in both the tray icon and through Safari, but the fields don't get filled/nothing gets copied to the keyboard.
Hello @meowmix3, could you try to go though all the above steps, so I can pin-point the problem?
I'm closing this issue again due to inactivity. Please feel free to re-open it.
The pinentry setup proposed in https://github.com/adur1990/Pass-for-macOS/issues/49#issuecomment-829872340 fixed the issue in my M1 (I actually used the commands from README#Requirements).
@adur1990, my suggestion though is to improve README so this required step is made more explicit, since it's currently written within in a long full of commands
paragraph.
Describe the bug
Pass for Mac OS do not save passwords in system clipboard.
To Reproduce
Menu Bar
enter
Expected behavior
It will save password to system clipboard.
Screenshots
Desktop (please complete the following information)
Additional information
It works fine on the same setup on Intel, but not on M1.