[New in v10.70] FirmaSAT now supports unencrypted key files as well as the usual encrypted key files.
Detection of an unencrypted key file is automatic when performing signing and key checking operations. In these cases the password is ignored. Set it to the empty string
szPassword=""
in your code or use -p ""
in the CLI.
To save an encrypted file in unencrypted form, use Save key file with a new password but set the new password as the empty string ""
.
Technical note:
The standard key format issued by SAT is PKCS#8 encrypted key EncryptedPrivateKeyInfo
represented in PEM textual form with the identifier
BEGIN ENCRYPTED PRIVATE KEY
. The unencrypted form is PKCS#8 PrivateKeyInfo
represented in PEM form with
BEGIN PRIVATE KEY
.
References: RFC5208 and RFC5958.