fluidasserts.format.jks module

This module allows to check JKS vulnerabilities.

fluidasserts.format.jks.has_no_password_protection(path)

Check if .jks files are password protected.

Parameters

path (str) – path to check

Return type

fluidasserts.Result

fluidasserts.format.jks.use_password(path, password)

Check if a JKS file has been protected by password.

Parameters
  • path (str) – path to check

  • password (str) – password to test

Return type

fluidasserts.Result

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

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

Parameters
  • path (str) – path to check

  • passwords (list) – passwords to test

Return type

fluidasserts.Result