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

tari-project / tari / 40467144894
79%

Build:
DEFAULT BRANCH: development
Ran 27 Oct 2026 09:15AM UTC
Jobs 1
Files 799
Run time 1min
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

27 Oct 2026 07:26AM UTC coverage: 76.799% (-0.008%) from 76.807%
40467144894

push

github

web-flow
fix(grpc): replace per-request Argon2id with constant-time Basic auth and per-IP backoff (#8013) (#8170)

## Summary

Fixes #8013 (part of #8025).

- Removes `argon2` from `minotari_app_grpc/Cargo.toml` and deletes
`salted_password.rs` and startup password hashing.
- Precomputes length-masked, random-padded 256-byte comparison buffers
(`Zeroizing<[u8; 256]>`) for both `username` and `password` once at
`BasicAuthCredentials` construction and validates both in constant time
via `subtle::ConstantTimeEq` with zero per-request heap allocation.
- Adds a bounded LRU per-source-address (`Request::remote_addr()`)
failed-attempt exponential backoff tracker (`MAX_TRACKED_PEERS = 1024`,
`MAX_FAILURES_BEFORE_BACKOFF = 5`) in `ServerAuthenticationInterceptor`.
- Includes the peer address in the authentication failure `warn!` log
line.
- Adds unit tests covering constant-time credential validation,
microsecond-scale failure handling, per-IP exponential backoff and
expiration, bounded tracker capacity under many distinct IPs, and peer
address logging.

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=87394312"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/tari-project/github/tari-project/tari/-/pull/8170"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-stat... (continued)

137455 of 178980 relevant lines covered (76.8%)

302229.07 hits per line

Coverage Regressions

Lines Coverage ∆ File
84
70.62
-6.87% base_layer/core/src/base_node/sync/horizon_state_sync/synchronizer.rs
47
63.86
0.3% base_layer/core/src/chain_storage/blockchain_database.rs
17
77.82
-0.14% comms/core/src/connectivity/manager.rs
5
51.81
-4.82% base_layer/core/src/chain_storage/block_add_result.rs
3
75.27
-3.23% base_layer/core/src/validation/mocks.rs
3
90.41
-4.11% comms/core/src/pipeline/inbound.rs
2
89.18
0.16% comms/core/src/connection_manager/peer_connection.rs
2
81.28
0.41% comms/dht/src/connectivity/mod.rs
1
87.85
-0.1% base_layer/core/src/proof_of_work/cuckaroo_pow.rs
1
55.26
0.0% base_layer/core/src/validation/error.rs
1
90.92
-0.16% base_layer/p2p/src/services/liveness/service.rs
1
73.01
-0.07% base_layer/wallet/src/output_manager_service/storage/sqlite_db/mod.rs
1
77.4
-0.03% base_layer/wallet/src/transaction_service/storage/sqlite_db.rs
1
89.2
1.39% comms/core/src/connection_manager/dialer.rs
1
93.23
-0.38% comms/core/src/connectivity/proactive_dialer.rs
1
68.97
-0.49% comms/core/src/connectivity/requester.rs
1
87.65
0.0% comms/core/src/protocol/messaging/inbound.rs
Jobs
ID Job ID Ran Files Coverage
1 40467144894.1 27 Oct 2026 09:15AM UTC 799
76.8
GitHub Action Run
Source Files on build 40467144894
  • Tree
  • List 799
  • Changed 28
  • Source Changed 0
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40467144894
  • c7cc7c84 on github
  • Prev Build on development (#40375378943)
  • Next Build on development (#40514277563)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc