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

password is not copied to clipboard #56

Open
deadc0de6 opened this issue Jul 3, 2022 · 6 comments
Open

password is not copied to clipboard #56

deadc0de6 opened this issue Jul 3, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@deadc0de6
Copy link

Describe the bug

When using Pass-for-macOS, the list of passwords is working but once I select a password, it is not copied to the clipboard.
Thanks for your help!

gpg-agent.conf content:

enable-ssh-support
pinentry-program /opt/homebrew/bin/pinentry-mac

It does work with pass -c on the terminal though.
Note that I'm using a yubikey.

To Reproduce

  • Install Pass-for-MacOS using brew install --cask adur1990/tap/passformacos
  • launch the tool
  • select the P* icon and search for a password entry
  • select the entry
  • nothing is saved to the clipboard

Expected behavior

Selected password is saved to the clipboard.

Desktop

  • macOS version: Monterey 12.4
  • Safari version: N/A
  • Pass for macOS version: v0.11.4
  • How was Pass for macOS installed: brew install --cask adur1990/tap/passformacos
@deadc0de6 deadc0de6 added the bug Something isn't working label Jul 3, 2022
@adur1990
Copy link
Owner

Hi,

is the bug ocuring only in Safari or also in the system bar?
What shell are you using?
Does the search work, i.e., are your passwords found if you use the search either in Safari or the status bar?
Is Pass for macOS running?

@deadc0de6
Copy link
Author

Hello,

thanks for your answer, here are the required info:

  • It occurs in both Safari and the system bar (although I'm mostly interested in the system bar part)
  • I'm using zsh
  • Yes searching for passwords work for both Safari and the system bar
  • Yes Pass for macOS is running

@adur1990
Copy link
Owner

Okay, this is not the first issue from an zsh user, I guess I have to do some further testing with zsh.

Can you open the console.app and add Pass for macOS and de.artursterz.passformacos in the top right search bar? Then click start and try to use Pass for macOS a couple of times, both from Safari and the system bar. Then select all entries with CMD-A and click the share button on the top right. Select email. This will open a new mail with the recorded contents. Please paste them in a new comment in this issue.

But be careful. There might be sensitiv information in the copied output. Make sure to double check!

@SeniorMars
Copy link

SeniorMars commented Jul 20, 2022

Having the same problem on fish and safari and I am also using a yubikey

11:39:32.774240-0500 Pass for macOS sendPartialString
11:39:32.886080-0500 Pass for macOS sendPartialString
11:39:32.929697-0500 Pass for macOS sendPartialString
11:39:33.088818-0500 Pass for macOS sendPartialString
11:39:33.109541-0500 Pass for macOS Loading Preferences From System CFPrefsD
11:39:33.156600-0500 Pass for macOS Loading Preferences From User CFPrefsD
11:39:33.158478-0500 Pass for macOS Loading Preferences From User CFPrefsD
11:39:33.190834-0500 Pass for macOS Loading Preferences From System CFPrefsD
11:39:33.451333-0500 Pass for macOS Loading Preferences From System CFPrefsD
11:39:56.907345-0500 Pass for macOS sendPartialString
11:39:57.016897-0500 Pass for macOS sendPartialString
11:39:57.108234-0500 Pass for macOS sendPartialString
11:39:57.227823-0500 Pass for macOS sendPartialString
11:40:04.001395-0500 Pass for macOS sendPartialString
11:40:04.143501-0500 Pass for macOS sendPartialString
11:40:04.182611-0500 Pass for macOS sendPartialString
11:40:04.388997-0500 Pass for macOS sendPartialString
11:40:05.196801-0500 Pass for macOS sendPartialString
11:40:07.436747-0500 Pass for macOS TCCAccessRequest() IPC
11:41:40.940573-0500 extension AppSandbox
11:41:40.954392-0500 extension Retrieve User by ID
11:41:40.964104-0500 extension TCCAccessRequest() IPC
11:41:40.988786-0500 extension didChangeInheritances
11:41:41.086019-0500 extension beginning extension request
11:41:43.489330-0500 extension beginning extension request
11:41:55.044910-0500 extension beginning extension request
11:41:55.098207-0500 extension Activity for state dumps
11:41:55.110814-0500 extension beginning extension request
11:41:55.118762-0500 extension Loading Preferences From User CFPrefsD
11:41:55.119132-0500 extension Loading Preferences From User CFPrefsD
11:41:55.123131-0500 extension compiling shader
11:41:55.143333-0500 extension compiling shader
11:41:55.155131-0500 extension Loading Preferences From User CFPrefsD
11:41:55.155462-0500 extension Loading Preferences From System CFPrefsD
11:41:55.170176-0500 extension compiling shader
11:41:55.175126-0500 extension compiling shader
11:41:55.188796-0500 extension TCCAccessRequest() IPC
11:41:56.261367-0500 extension TCCAccessRequest() IPC
11:41:56.989089-0500 extension sendAction:
11:41:57.579185-0500 extension AppSandbox
11:41:57.615081-0500 extension Retrieve User by ID
11:41:57.627574-0500 extension TCCAccessRequest() IPC
11:41:57.652945-0500 extension didChangeInheritances
11:41:57.692297-0500 extension beginning extension request
11:41:59.451901-0500 extension AppSandbox
11:41:59.476197-0500 extension Retrieve User by ID
11:41:59.486268-0500 extension TCCAccessRequest() IPC
11:41:59.507620-0500 extension didChangeInheritances
11:41:59.545898-0500 extension beginning extension request
11:42:00.670571-0500 extension beginning extension request
11:42:00.719542-0500 extension Activity for state dumps
11:42:00.732281-0500 extension beginning extension request
11:42:00.744090-0500 extension Loading Preferences From User CFPrefsD
11:42:00.744405-0500 extension Loading Preferences From User CFPrefsD
11:42:00.759371-0500 extension Loading Preferences From User CFPrefsD
11:42:00.759592-0500 extension Loading Preferences From System CFPrefsD
11:42:00.774895-0500 extension TCCAccessRequest() IPC
11:42:01.648289-0500 extension TCCAccessRequest() IPC
11:42:02.074950-0500 extension TCCAccessRequest() IPC
11:42:03.787056-0500 extension AppSandbox
11:42:03.807602-0500 extension Retrieve User by ID
11:42:03.817795-0500 extension TCCAccessRequest() IPC
11:42:03.848599-0500 extension didChangeInheritances
11:42:03.900621-0500 extension beginning extension request
11:42:05.612210-0500 extension AppSandbox
11:42:05.630073-0500 extension Retrieve User by ID
11:42:05.640497-0500 extension TCCAccessRequest() IPC
11:42:05.661927-0500 extension didChangeInheritances
11:42:05.704679-0500 extension beginning extension request
11:42:07.969436-0500 extension beginning extension request
11:42:08.017256-0500 extension Activity for state dumps
11:42:08.028795-0500 extension beginning extension request
11:42:08.038737-0500 extension Loading Preferences From User CFPrefsD
11:42:08.039048-0500 extension Loading Preferences From User CFPrefsD
11:42:08.051728-0500 extension Loading Preferences From User CFPrefsD
11:42:08.051948-0500 extension Loading Preferences From System CFPrefsD
11:42:08.066695-0500 extension TCCAccessRequest() IPC
11:42:10.448626-0500 extension Loading Preferences From User CFPrefsD
11:42:10.453735-0500 extension sendAction:
11:42:10.468343-0500 extension sendAction:
11:42:10.468404-0500 extension TCCAccessRequest() IPC
11:42:10.502854-0500 extension sendAction:
11:42:10.507744-0500 extension sendAction:
11:42:10.526074-0500 extension sendAction:
11:42:10.530020-0500 extension sendAction:
11:42:10.872174-0500 extension Loading Preferences From User CFPrefsD
11:42:12.440113-0500 extension AppSandbox
11:42:12.465404-0500 extension Retrieve User by ID
11:42:12.474790-0500 extension TCCAccessRequest() IPC
11:42:12.499747-0500 extension didChangeInheritances
11:42:12.547488-0500 extension beginning extension request
11:42:15.980390-0500 extension AppSandbox
11:42:15.996392-0500 extension Retrieve User by ID
11:42:16.006561-0500 extension TCCAccessRequest() IPC
11:42:16.025971-0500 extension didChangeInheritances
11:42:16.065201-0500 extension beginning extension request
11:42:22.079631-0500 Pass for macOS sendPartialString
11:42:22.166347-0500 Pass for macOS sendPartialString
11:42:22.289797-0500 Pass for macOS sendPartialString
11:42:22.411705-0500 Pass for macOS sendPartialString
11:42:29.051398-0500 Pass for macOS sendPartialString
11:42:29.141298-0500 Pass for macOS sendPartialString
11:42:29.234450-0500 Pass for macOS sendPartialString
11:42:29.404192-0500 Pass for macOS sendPartialString
11:42:30.191481-0500 Pass for macOS sendPartialString
11:42:30.441905-0500 Pass for macOS sendPartialString
11:42:30.472721-0500 Pass for macOS sendPartialString
11:42:30.503631-0500 Pass for macOS textDidChange:
11:42:30.887435-0500 Pass for macOS sendPartialString
11:42:30.964320-0500 Pass for macOS sendPartialString
11:42:30.975658-0500 extension tearing down extension context
11:42:31.016345-0500 Pass for macOS sendPartialString
11:42:31.183685-0500 Pass for macOS sendPartialString
11:39:33.451333-0500 Pass for macOS Loading Preferences From System CFPrefsD

@adur1990
Copy link
Owner

What pinentry are you using and are your keys loaded in the agent?

@deadc0de6
Copy link
Author

pinentry:

pinentry-program /opt/homebrew/bin/pinentry-mac

Yes the agent returns all my keys with gpg-connect-agent 'keyinfo --list' /bye

Moreover pass and gopass work flawlessly from the command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants