"Kirill A. Korinsky" writes: > Greeting, Hi Kirill, > I'd like to share a bug with simple reproducer: > > (auth-source-search :host "some.host" :port "123" :user "user") > (auth-source-search :host "some.host" :port 123 :user "user") > > The first line works as expected, and the second one fails as: > > Debugger entered--Lisp error: (wrong-type-argument stringp 123) > call-process("/usr/bin/security" nil t nil "find-generic-password" > "-g" "-c" "some.host" "-a" "user" "-s" 123) call-process requires strings as arguments. This must be converted in auth-source-macos-keychain-search-items if needed. Could you, please, check whether the appended patch works? I cannot test myself, I have no macOS machine. Best regards, Michael.