Replace Encryption methods #32
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🔩
Due to PowerShell Core limits / issue we can't use
ConvertFrom-SecureString
to retrieve the passwords from the Credential Store for the Core variant of this module.🥇 Alternate Password Encryption
A while ago I stumbled upon an interesting article about using certificates for encrypting the keys:
So unfortunately there is no
Certificate PSProvider
in for PowerShell Core. But luckily the useddecrypt
andencrypt
methods are still available if we use theGet-PfxCertificate
.🔎 Protoyping
Meanwhile I plumbed up a quick prototype which evaluates this workflow:
openssl
Encrypt
Decrypt
Credits