test_certificates failed

Open
#28 1 comment 0 reactions 2 assignees View on GitHub

@luras-oil is already working on this.

Since Jul 27, 2023.

Assessment

This issue has not been assessed yet.

Description

test_creating_cert(self) failed for self.assertEqual(certificate.common_name, "TestCert_CodeSign/C=GB")
The common_name of the test certificate is None by method _get_common_name(self)

The subject get from the cert is "subject=CN = TestCert_CodeSign, C = GB, emailAddress = apple@myers.io", it doesn't match the regex
match = re.search(r"subject=./CN=(.)./.", subject).

And the match result shouldn't be "TestCert_CodeSign/C=GB"?

Dominant language
Python
Stars
38
Forks
15
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/keyper

All issues in microsoft/keyper

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.