add context dict and input_passphrase