The auth-source library hides passwords in authinfo-mode, putting an overlay of "****" over them. For example, “machine localhost port sudo login root password foobar” will show up as “machine localhost port sudo login root password ****”. However, it fails to properly hide passwords which are quoted and contain spaces, even though those are still valid and parsed successfully. For example, “machine localhost port sudo login root password "foo bar"” will show up as “machine localhost port sudo login root password **** bar"”. The attached patch fixes this by using the same logic that ‘auth-source-netrc-parse-one’ uses to retrieve the field. The logic is moved to a separate function. Best regards, Dario