Skip to content

Allow to specify used trustmodel in gpg.verify - #50474

Merged
cachedout merged 1 commit into
saltstack:fluorinefrom
kyuubii:gpg-trust-model
Nov 20, 2018
Merged

cachedout merged 1 commit into
saltstack:fluorinefrom
kyuubii:gpg-trust-model

Conversation

@kyuubii

@kyuubii kyuubii commented Nov 12, 2018 •

Copy link
Copy Markdown
Contributor

What does this PR do?

It allows to explicitly specify the trust model used by gpg.verify, such as direct or tofu+pgp

What issues does this PR fix or reference?

None

Previous Behavior

gpg.verify always used the trust model implicitly defined by python-gnupg/GnuPG

New Behavior

The previous behaviour can be overridden by explicitly providing a trust model.

Tests written?

No

Commits signed with GPG?

Yes

@dwoz

dwoz commented Nov 13, 2018

Copy link
Copy Markdown
Contributor

@kyuubii it looks like there are 0 unit and/or integration tests for this module. How do you feel about adding one, either unit or integration?

@dwoz
dwoz self-requested a review November 13, 2018 09:39
@kyuubii

kyuubii commented Nov 15, 2018

Copy link
Copy Markdown
Contributor Author

It looks like the following failing test jenkins/pr/py2-centos-7 is not related to this pull request (psutil.NoSuchProcess process no longer exists (pid=16777)).

@kyuubii
kyuubii force-pushed the gpg-trust-model branch 3 times, most recently from b803a0f to bca14b2 Compare November 15, 2018 12:49
@kyuubii

kyuubii commented Nov 15, 2018 •

Copy link
Copy Markdown
Contributor Author

@kyuubii it looks like there are 0 unit and/or integration tests for this module. How do you feel about adding one, either unit or integration?

Due to our current time constraints, I won't get around to provide unit or even integration tests.

@cachedout
cachedout merged commit e86ea9c into saltstack:fluorine Nov 20, 2018
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.

3 participants