You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mattsb42-aws
changed the title
PowerShell: Piping from stdin to stdout generates unsupported type error
PowerShell: Pipe/stream encoding issues with ciphertext to stdout or from stdin
Oct 8, 2017
In a PowerShell console, the following command patterns generate 'Unsupported type 63 discovered in data stream' errors:
'hello' | aws-crypto -e -m key=$cmkArn -i - -o - | aws-crypto -d -i - -o -
$encrypted = 'hello' | aws-crypto -e -m key=$cmkArn -i - -o -
$encrypted | aws-crypto -d -i - -o -
Converting the intermediate output to base 64 doesn't help. Neither does changing the
$OutputEncoding
automatic variable to UTF-8.The text was updated successfully, but these errors were encountered: