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

mendersoftware / mender / 1046240096
76%
master: 80%

Build:
Build:
LAST BUILD BRANCH: 5.0.x
DEFAULT BRANCH: master
Ran 23 Oct 2023 01:24PM UTC
Jobs 1
Files 131
Run time 3s
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

23 Oct 2023 01:07PM UTC coverage: 80.229% (-0.1%) from 80.369%
1046240096

push

gitlab-ci

oleorhagen
fix(artifact): Add support for verifying our custom EC signature format

This adds support for verifying our custom EC signature marshalling from our
Mender-Artifact format/tool.

Somewhat surprisingly, it turns out that we do not encode the `EC` signature in
any known binary encoding format.

Instead we simply concatenate the integers (r & s) in this instance, into a
binary array, and write it to file.

This brings a host of issues obviously (where hard to understand is just one of
them). The other is that not encoding it in an architecture independent format
is that the signature will only be verified on the architecture it was made (it
needs the right byte-order), so Big- and Little-endian makes a difference here.

To accomodate this, the new client will try and decode both integers in both
Little- and Big-endian format, then encode it into `ASN.1` and `DER`, and then
pass it on to our regular verification code.

Ticket: MEN-6671
Changelog: None

Signed-off-by: Ole Petter <ole.orhagen@northern.tech>

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

6874 of 8568 relevant lines covered (80.23%)

9387.78 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
20
72.05
-2.71% common/crypto/platform/openssl/crypto.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
2
85.14
-0.98% common/conf/conf.cpp
3
96.52
-1.41% common/config_parser/config_parser.cpp
Jobs
ID Job ID Ran Files Coverage
1 1046240096.1 23 Oct 2023 01:24PM UTC 131
80.23
Source Files on build 1046240096
  • Tree
  • List 131
  • Changed 40
  • Source Changed 7
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • GitLab CI Build #1046240096
  • 82002064 on github
  • Prev Build on HEAD (#1046237531)
  • Next Build on HEAD (#1046246711)
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