Exemplo n.º 1
0
 def _check_keystore(password: str):
     if not password:
         password = getpass.getpass("input your keystore password: "******"Password must be at least 8 characters long including alphabet, number, "
             "and special character.")
     return password
    def _check_keystore(password: str):
        if not password:
            password = getpass.getpass("Input your keystore password: "******"Retype your keystore password: "******"Sorry, passwords do not match. Failed to make keystore file")

        if not validate_password(password):
            raise TBearsCommandException("Password must be at least 8 characters long including alphabet, number, "
                                         "and special character.")
        return password