fluidasserts.format.pkcs12 module

This module allows to check PKCS12 vulnerabilities.

fluidasserts.format.pkcs12.has_no_password_protection(path)

Check if a PKCS 12 file is password protected.

Parameters

path (str) – path to check.

Return type

tuple

fluidasserts.format.pkcs12.use_passwords(path, passwords)

Check if a PKCS 12 file has been protected by any of passwords.

Parameters
  • path (str) – path to check

  • passwords (typing.List) – passwords to test

Return type

fluidasserts.Result