The bitwarden-login function fails when all of the following conditions are true:
bitwarden-api-client-id is nil
bitwarden-api-secret-key is nil
bitwarden-automatic-unlock is nil or is a function that returns nil
What happens is the :command argument to make-process ends up with a final list element of nil, producing the error Wrong type argument: stringp, nil. The following workaround avoids that error:
(setq bitwarden-automatic-unlock (lambda () ""))
One fix would be to set the let-bound pass variable in bitwarden-login the same way it is set in the bitwarden-unlock function.
The
bitwarden-login
function fails when all of the following conditions are true:bitwarden-api-client-id
isnil
bitwarden-api-secret-key
isnil
bitwarden-automatic-unlock
isnil
or is a function that returnsnil
What happens is the
:command
argument tomake-process
ends up with a final list element ofnil
, producing the errorWrong type argument: stringp, nil
. The following workaround avoids that error:One fix would be to set the
let
-boundpass
variable inbitwarden-login
the same way it is set in thebitwarden-unlock
function.