-
Notifications
You must be signed in to change notification settings - Fork 141
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
outstanding type issues #1143
Comments
Here is a new one, following up #1180. The type checker reports a possibly unbounded variable in the verifier's code. keylime/keylime/cloud_verifier_tornado.py Line 608 in 8e417f5
I tried the obvious fix but it breaks CI tests: |
Update: PR #1186 fixes the reported problems in |
Update: PR #1194 fixes the reported problems in |
Update: PR #1196 fixes the reported problems in |
I am restructuring this issue to keep track of all the files with outstanding type issues, considering the existing PRs. |
update: upgrading Lark from 1.1.3 to 1.1.4 fixed the issue below: /home2/mdrocco/git/keylime/keylime/ima/ima_dm.py
/home2/mdrocco/git/keylime/keylime/ima/ima_dm.py:16:18 - error: "Lark" is not exported from module "lark"
Import from "lark.lark" instead (reportPrivateImportUsage)
/home2/mdrocco/git/keylime/keylime/ima/ima_dm.py:16:24 - error: "Transformer" is not exported from module "lark"
Import from "lark.visitors" instead (reportPrivateImportUsage)
/home2/mdrocco/git/keylime/keylime/ima/ima_dm.py:16:37 - error: "v_args" is not exported from module "lark"
Import from "lark.visitors" instead (reportPrivateImportUsage) |
update: PR #1268 (and #1308) fixed the verifier. How much do we care about the outstanding issues? @aplanas @THS-on @stefanberger |
I think looking at elchecking makes probably sense. The other ones are a lower priority. |
dataclases: that file should be ignored, and dropped once we upgrade the minimal python From the rest maybe ima and elchecking |
Thanks, I will look at |
This is a spinoff of #929 , following up the first batches of type fixes in various PRs. The following files are reported to contain type issues according to
pyright
with Python 3.10:keylime/backport_dataclasses.py
keylime/cloud_verifier_tornado.py
keylime/da/examples/file.py
keylime/da/examples/redis.py
keylime/da/examples/sqldb.py
keylime/da/examples/tsa_rfc3161.py
keylime/da/record.py
keylime/mba/elchecking/example.py
keylime/ima/ima_dm.py
keylime/keylime_agent.py
keylime/migrations/versions/*
keylime/revocation_actions/update_crl.py
test/data/template-invalid-adjust/2.0/adjust.py
The text was updated successfully, but these errors were encountered: