Skip to content

Commit 6e19689

Browse files
author
manualbashing
committed
fix: typos and language
1 parent ccf2218 commit 6e19689

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/en/posts/decode-powershell-securestring-linux.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Decode any PowerShell Secure String under Linux
2+
title: Decode any PowerShell Secure String on Linux
33
date: 2024-04-09
44
draft: false
55
tags:
@@ -27,6 +27,6 @@ $decodedPassword = $utf8.GetString($byteArray)
2727
Write-Host "Password: $password | Decoded Password: $decodedPassword"
2828
```
2929

30-
Under Windows this will not lead to a useful value for `$decodedPassword`, as Windows systems encrypt the *secure string* based on the profile of the current User and Host. Under Linux the value for `$password` and `$decodedPassword` will be identical.
30+
On Windows this will not lead to a useful value for `$decodedPassword`, as Windows systems encrypt the *secure string* based on the profile of the current User and Host. On Linux the value for `$password` and `$decodedPassword` will be identical.
3131

32-
So better find another way to store your automation secrets under Linux or even better: avoid them alltogether by using certificates or managed identities if possible.
32+
So better find another way to store your automation secrets on Linux or even better: avoid them alltogether by using certificates or managed identities if possible.

0 commit comments

Comments
 (0)