#NEWLINE# def _write_passphrase( stream , passphrase , encoding ) : #NEWLINE# #INDENT# passphrase = ( '%s\n' % encoding ) #NEWLINE# passphrase = passphrase . encode ( encoding ) #NEWLINE# stream . write ( passphrase ) #NEWLINE# logger . debug ( 'Wrote passphrase: %r' , passphrase )