Hammerspoon / Spoons

The official repository of Spoon plugins
https://www.hammerspoon.org/Spoons/
444 stars 140 forks source link

Keychain method not called addItem and adds “-w” to service #311

Open andrewcrook opened 8 months ago

andrewcrook commented 8 months ago

A couple of issues

addItem in documentation doesn’t exist I presume it’s the method addPassword

The security command line string appends ‘-w' to a field this is because it adds ‘-w ’ twice and the second the second time doesn’t add a space in front of it..

andrewcrook commented 8 months ago

I will take on this Issue

  1. I will rename addPassword to addItem
  2. I will remove the concatenation that adds the password a second time.
andrewcrook commented 8 months ago

Pull request #312