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

input-output-hk / catalyst-voices / 14486833651
23%

Build:
DEFAULT BRANCH: main
Ran 16 Apr 2025 07:43AM UTC
Jobs 3
Files 1060
Run time 3min
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

16 Apr 2025 07:09AM UTC coverage: 23.674% (-0.4%) from 24.056%
14486833651

push

github

web-flow
feat(cat-gateway): Catalyst Signed Docs signature validation (#2177)

* add signed doc time based validation

* fix spelling

* wip

* feat(cat-gateway): Store `RegistrationChain` as a part of the RBAC token (#2123)

* store reg_chain as a part of the RBAC token

* Update catalyst-gateway/bin/src/service/common/auth/rbac/token.rs

Co-authored-by: Steven Johnson <stevenj@users.noreply.github.com>

* feat: error handling and cloneable reg_chain

* feat: service unavailable for rbac token auth

* chore: comment correction

* chore: lintfix

* chore: cspellfix

* chore: move helper function

---------

Co-authored-by: Apisit Ritruengroj <38898766+apskhem@users.noreply.github.com>
Co-authored-by: Steven Johnson <stevenj@users.noreply.github.com>
Co-authored-by: Apisit Ritreungroj <apisit_lon@hotmail.com>

* feat(cat-gateway): Add signature validation layer to `PUT /v1/document` (#2038)

* feat: initial doc signature validation

* feat: validation

* feat: doc report including

* chore: use if guard

* chore: leaner matching pattern

* feat: from token

* feat: use from token

* feat: rbac token and doc kids validation

* chore: minor error message

* chore: eq compare

* feat: tmp trying new role records

* feat: applying latest rbac lib

* chore: scheme

* feat: complete tmp flow

* feat: latest rotation validation

* fix: id comparison

* fix: short id

* fix: kid compare logic

* chore: minor

* chore: fix cspell

* chore: fmtfix

* fix: proposer role to 3

* fix: get latest key dynamically by role

* fix: finding latest keys by kids instead of using auth token

* feat: doc id/ver checking

* feat: different document ver/id authors validation

* chore: error message

* chore: minor

* refactor: lintfix

* fix: validation condition

* chore: move token and kids validation

* chore: try_from_kids doc comment

* chore: fmtfix

* chore: remove redundant step comment

* chore: apply reg chain initialization for key provider building

* chore: minor

* fix: k... (continued)

16 of 307 new or added lines in 11 files covered. (5.21%)

113 existing lines in 4 files now uncovered.

9749 of 41180 relevant lines covered (23.67%)

2.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
10.0
7.3% catalyst-gateway/bin/src/service/api/documents/get_document.rs
2
9.09
0.0% catalyst-gateway/bin/src/service/api/cardano/rbac/mod.rs
2
2.27
0.0% catalyst-gateway/bin/src/service/api/documents/mod.rs
3
0.0
0.0% catalyst-gateway/bin/src/db/event/signed_docs/signed_doc_body.rs
3
0.0
0.0% catalyst-gateway/bin/src/service/api/cardano/rbac/registrations_get/mod.rs
7
87.1
-2.29% catalyst-gateway/bin/src/service/common/auth/rbac/token.rs
29
1.25
0.55% catalyst-gateway/bin/src/service/common/auth/rbac/scheme.rs
48
19.8
-80.2% catalyst-gateway/tests/api_tests/integration/test_signed_doc.py
52
0.0
0.0% catalyst-gateway/bin/src/db/index/queries/rbac/get_rbac_registrations.rs
70
0.0
catalyst-gateway/bin/src/service/api/documents/common/mod.rs
74
0.95
-0.42% catalyst-gateway/bin/src/service/api/documents/put_document/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
9.09
0.0% catalyst-gateway/bin/src/service/api/cardano/rbac/mod.rs
1
1.25
0.55% catalyst-gateway/bin/src/service/common/auth/rbac/scheme.rs
1
87.1
-2.29% catalyst-gateway/bin/src/service/common/auth/rbac/token.rs
110
19.8
-80.2% catalyst-gateway/tests/api_tests/integration/test_signed_doc.py
Jobs
ID Job ID Ran Files Coverage
1 rust-unit-test - 14486833651.1 16 Apr 2025 07:43AM UTC 201
23.69
GitHub Action Run
2 api-test - 14486833651.2 16 Apr 2025 07:43AM UTC 7
25.57
GitHub Action Run
3 flutter-test - 14486833651.3 16 Apr 2025 07:43AM UTC 852
23.65
GitHub Action Run
Source Files on build 14486833651
  • Tree
  • List 1060
  • Changed 12
  • Source Changed 12
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14486833651
  • b809583d on github
  • Prev Build on main (#14486015646)
  • Next Build on main (#14488052586)
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