tlsfuzzer/tlslite-ng

View on GitHub
messages.py: handle empty compressed certificate message #496
George Pantelakis authored 4d9f37eb
complete00:00:34
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-radon:b695
b695: Pulling from codeclimate/codeclimate-radon
e00d546a75ad: Pulling fs layer
21f0a0866768: Pulling fs layer
cd9d3946aa16: Pulling fs layer
2e56add6654f: Pulling fs layer
6c87f215a2be: Pulling fs layer
c2b31566ca3d: Pulling fs layer
2e56add6654f: Waiting
6c87f215a2be: Waiting
c2b31566ca3d: Waiting
21f0a0866768: Verifying Checksum
21f0a0866768: Download complete
cd9d3946aa16: Verifying Checksum
cd9d3946aa16: Download complete
e00d546a75ad: Verifying Checksum
e00d546a75ad: Download complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
e00d546a75ad: Pull complete
c2b31566ca3d: Verifying Checksum
c2b31566ca3d: Download complete
21f0a0866768: Pull complete
cd9d3946aa16: Pull complete
2e56add6654f: Download complete
2e56add6654f: Pull complete
6c87f215a2be: Pull complete
c2b31566ca3d: Pull complete
Digest: sha256:dfeb7edc634b4e2f851f3c788f7c21bd8bae097d4c66af722c76a6ba51121f98
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-radon:b695
5
structure
View output
13
Parser process id: 13
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-10-16T10:18:45.699211 #1]  INFO -- : Skipping file ./tlslite/utils/rsakey.py due to exception (CC::Engine::Analyzers::ParserError): `python3 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 33, in cast_value
    return value.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbc in position 0: invalid start byte


I, [2024-10-16T10:18:45.911402 #1]  INFO -- : Skipping file ./tlslite/utils/aesccm.py due to exception (CC::Engine::Analyzers::ParserError): `python3 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 33, in cast_value
    return value.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte


I, [2024-10-16T10:18:46.623722 #1]  INFO -- : Skipping file ./tlslite/utils/python_aes.py due to exception (CC::Engine::Analyzers::ParserError): `python3 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in cast_value
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 43, in <listcomp>
    return [cast_value(v) for v in value]
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 45, in cast_value
    return to_json(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 18, in to_json
    json_ast[key] = cast_value(value)
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 33, in cast_value
    return value.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
7
radon
radon engine documentation
View output
Running radon3...
8
pep8
pep8 engine documentation
View output
.github/ tlslite/ docs/ setup.py
9
fixme
fixme engine documentation
10
markdownlint
markdownlint engine documentation
View output
/usr/local/bundle/gems/posix-spawn-0.3.11/lib/posix/spawn.rb:467: warning: constant ::Fixnum is deprecated