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

WIP: fix 281, warn if expiration subpacket is not hashed #288

Merged
merged 1 commit into from Jun 19, 2019

Conversation

kristelfung
Copy link
Contributor

Flag subpackets being added to the info dict as hashed or unhashed so we can warn if the expiration subpacket is not hashed (don't merge yet still not fully functional)

@coveralls
Copy link

coveralls commented Jun 13, 2019

Coverage Status

Coverage decreased (-0.05%) to 99.952% when pulling c4da799 on kristelfung:fix-281 into 9f1c6d6 on in-toto:develop.

@SantiagoTorres
Copy link
Member

Hi @kristelfung ! thanks for your PR. It appears that the appveyor build is failing with something that appears unrelated to this PR, so I'll go on and review it.

Copy link
Member

@SantiagoTorres SantiagoTorres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It mostly LGTM, modulo two nits 👍

However, I wonder if @lukpueh is on board with the way we are solving this issue

in_toto/gpg/common.py Outdated Show resolved Hide resolved
in_toto/gpg/common.py Outdated Show resolved Hide resolved
Copy link
Member

@lukpueh lukpueh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for you PR, @kristelfung! This is solid work. Please address my comments and we can merge.

in_toto/gpg/common.py Outdated Show resolved Hide resolved
in_toto/gpg/common.py Outdated Show resolved Hide resolved
in_toto/gpg/common.py Outdated Show resolved Hide resolved
in_toto/gpg/common.py Outdated Show resolved Hide resolved
in_toto/gpg/common.py Outdated Show resolved Hide resolved
in_toto/gpg/common.py Outdated Show resolved Hide resolved
@kristelfung kristelfung force-pushed the fix-281 branch 2 times, most recently from f82cdd6 to 70d04dd Compare June 19, 2019 16:26
Signed-off-by: Kristel Fung <kristelfung@gmail.com>
@SantiagoTorres
Copy link
Member

thanks @kristelfung !

@kristelfung kristelfung deleted the fix-281 branch June 19, 2019 19:08
lukpueh added a commit to lukpueh/securesystemslib that referenced this pull request Aug 9, 2019
- Updates gpg tests to cover missing lines in gpg-subpackage.

- One feature, a warning about unhashed information added in
in-toto/in-toto#288, remains uncovered. To not break tox builds,
the required coverage threshold is lowered to 99%

- This commit also enables output buffering on the unittest runner,
i.e. to hide most of the test output until a test fails. See
in-toto/in-toto#240 for details.
lukpueh added a commit to lukpueh/securesystemslib that referenced this pull request Aug 14, 2019
- Updates gpg tests to cover missing lines in gpg-subpackage.

- One feature, a warning about unhashed information added in
in-toto/in-toto#288, remains uncovered. To not break tox builds,
the required coverage threshold is lowered to 99%

- This commit also enables output buffering on the unittest runner,
i.e. to hide most of the test output until a test fails. See
in-toto/in-toto#240 for details.
lukpueh added a commit to lukpueh/securesystemslib that referenced this pull request Sep 4, 2019
- Updates gpg tests to cover missing lines in gpg-subpackage.

- One feature, a warning about unhashed information added in
in-toto/in-toto#288, remains uncovered. To not break tox builds,
the required coverage threshold is lowered to 99%

- This commit also enables output buffering on the unittest runner,
i.e. to hide most of the test output until a test fails. See
in-toto/in-toto#240 for details.
lukpueh added a commit to lukpueh/securesystemslib that referenced this pull request Sep 4, 2019
- Updates gpg tests to cover missing lines in gpg-subpackage.

- One feature, a warning about unhashed information added in
in-toto/in-toto#288, remains uncovered. To not break tox builds,
the required coverage threshold is lowered to 99%

- This commit also enables output buffering on the unittest runner,
i.e. to hide most of the test output until a test fails. See
in-toto/in-toto#240 for details.
tanishqjasoria pushed a commit to tanishqjasoria/securesystemslib that referenced this pull request Jan 30, 2020
- Updates gpg tests to cover missing lines in gpg-subpackage.

- One feature, a warning about unhashed information added in
in-toto/in-toto#288, remains uncovered. To not break tox builds,
the required coverage threshold is lowered to 99%

- This commit also enables output buffering on the unittest runner,
i.e. to hide most of the test output until a test fails. See
in-toto/in-toto#240 for details.
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

Successfully merging this pull request may close these issues.

None yet

4 participants