Reading and decoding bytes after modification by external process raises UnicodeDecodeError
Reading and decoding bytes after modification by external process raises UnicodeDecodeError Question: I’m trying to encrypt a string with ansible-vault. To do this, I open two temporary files, one to hold the value to be encrypted and one to hold the password to encrypt with. Reproducible example: import os import subprocess import tempfile value = …
Total answers: 1