• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mendersoftware / mender-artifact / 1676254894
76%
master: 76%

Build:
Build:
LAST BUILD BRANCH: QA-1350
DEFAULT BRANCH: master
Ran 18 Feb 2025 10:41AM UTC
Jobs 2
Files 43
Run time 17s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Feb 2025 10:34AM UTC coverage: 76.393% (+76.4%) from 0.0%
1676254894

Pull #675

gitlab-ci

jo-lund
fix: Correct the signature length check for ECDSA keys supplied via PKCS#11

An ASN.1 DER encoded signature is specified by RFC 3279 as:
Ecdsa-Sig-Value ::= SEQUENCE  {
    r     INTEGER,
    s     INTEGER
}

ASN.1 gives an overhead of 6 bytes (SEQUENCE and INTEGER tags + length) and
for P-256 "r" and "s" are 32 bytes each. This gives a minimum length of 70
bytes. "r" and "s" should be positive numbers so if the numbers are negative
(msb is 1), the numbers need to be padded, i.e. they will use 33 bytes
instead of 32. This means the encoded signature can be 71 or 72 bytes
depending on padding.

Ticket: MEN-7941
Changelog: Title

Signed-off-by: John Olav Lund <john.olav.lund@northern.tech>
Pull Request #675: fix: Correct the signature length check for ECDSA keys supplied via P…

2 of 2 new or added lines in 1 file covered. (100.0%)

5812 of 7608 relevant lines covered (76.39%)

132.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unittests:linux - 1676254894.1 18 Feb 2025 10:41AM UTC 42
76.37
2 unittests:mac - 1676254894.2 18 Feb 2025 10:41AM UTC 41
66.91
Source Files on build 1676254894
  • Tree
  • List 43
  • Changed 8
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • GitLab CI Build #1676254894
  • Pull Request #675
  • PR Base - master (#1666483619)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc