Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MISPClient.__init__, ssl parameter default to True but later used as filename #87

Closed
trolldbois opened this issue Aug 23, 2017 · 2 comments

Comments

@trolldbois
Copy link

MISPClient.init, ssl parameter default to True but later used as filename

Request Type

Bug

Work Environment

Ubuntu 16
Cortex analyzer name: MISP
Cortex version: 1.1.3

Description

https://github.com/CERT-BDF/Cortex-Analyzers/blob/4e6cd23e0b41bc5ef5b2b91fa4921cedb0a35773/analyzers/MISP/mispclient.py#L37

Current error using the MISP module:

TypeError: coercing to Unicode: need string or buffer, bool found

Steps to Reproduce

  1. try to run a MISP analyzer without config.certpath in config path

Possible Solutions

Fix code to handle bool value in ssl parameter

Complementary information

@nadouani
Copy link
Contributor

Hi @3c7, any idea about this one?

Otherwise I can take a look on it.

Thanks

@3c7
Copy link
Contributor

3c7 commented Aug 25, 2017

Hi @nadouani, I'll fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants