Password Manager do not enter password to shell

1,189 views
Skip to first unread message

Michal Misiaszek

unread,
Oct 10, 2017, 6:34:17 PM10/10/17
to iterm2-discuss
I configured Trigger and Password Manager. The Password Manager is triggered and Account selected but when I press Enter Password shell gets CR only no string with password.
Basically it is like password is not entered. What I am missing ? 

Michal Misiaszek

unread,
Oct 10, 2017, 6:41:52 PM10/10/17
to iterm2-discuss
If I call 'Enter Password' from Password Manager on normal prompt (not SSH key prompt) then passwords is entered in open text and is OK.
SSH prompt reacts like getting wrong password (not CR as I thought initially). 

George Nachman

unread,
Oct 14, 2017, 4:29:45 PM10/14/17
to iterm2-...@googlegroups.com
If only CR is sent then it's likely the password is empty. You can right click on the password to reveal it and check that it's not empty.

--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michal Misiaszek

unread,
Oct 16, 2017, 2:42:09 PM10/16/17
to iterm2-discuss
So the password is NOT empty. If I send it deliberately I can see it in prompt. 
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discus...@googlegroups.com.

George Nachman

unread,
Oct 18, 2017, 1:04:25 AM10/18/17
to iterm2-...@googlegroups.com
I would recommend creating a debug log (instructions at https://iterm2.com/debuglog) and examine it to see if the password is actually sent. Look for lines including the string writeTaskImpl to see what iTerm2 sends. After you ask to send a password, we send a space and then a backspace, and then wait to see if the space character gets echoed. If it does not, then the password gets transmitted followed by a CR.

If you'd rather have me examine it just change the password to something that's not secret and file an issue with the debug log at https://iterm2.com/debuglog.

To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+unsubscribe@googlegroups.com.

Michal Misiaszek

unread,
Nov 3, 2017, 12:11:24 PM11/3/17
to iterm2-discuss
Hi George,
The Password Manager gets open, the correct line is selected but when I press "Enter Password" nothing happens other than CR (I think) send to prompt.
I enabled debugging and don't see my password but "dirty" text.

1509725183.895467 PTYTextView.m:6456 (-[PTYTextView setNeedsDisplayOnLine:inRange:]): Line 27 is dirty in range [33, 43), set rect NSRect: {{208, 416}, {1361, 48}} dirty
1509725183.895513 PTYTextView.m:6549 (-[PTYTextView updateDirtyRects]): Found dirty with delegate <PTYSession: 0x7ffad4d36b00 185x51>
1509725183.895803 PTYTextView.m:6550 (-[PTYTextView updateDirtyRects]):
--- top of buffer ---
0000: Last login: Thu Nov  2 20:20:20 on ttys009............................................................................................................................................... [hard]
dirty .........................................................................................................................................................................................
0001: You have new mail........................................................................................................................................................................ [hard]
dirty .........................................................................................................................................................................................
0002: Michal@MMI-MBP~/Work/Workspace $ kofinder................................................................................................................................................ [hard]
dirty .........................................................................................................................................................................................
0003: Enter passphrase for key '/Users/Michal/.ssh/id_rsa': ................................................................................................................................... [hard]
dirty .........................................................................................................................................................................................
0004: Enter passphrase for key '/Users/Michal/.ssh/id_rsa': ................................................................................................................................... [hard]
dirty .........................................................................................................................................................................................

What does it mean ?
Regards
Michal

George Nachman

unread,
Nov 4, 2017, 4:52:48 PM11/4/17
to iterm2-...@googlegroups.com
That's just what was on your screen, so it's not very informative. Were there no lines that included the string "writeTaskImpl"?

To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages