chore(deps): pin cs_openalias d8fc7c0
What changed, and why it matters
This commit updates a dependency (cs_openalias) to a newer pinned version and adjusts automated tests to match a new requirement that every recipient record must include a 'time-to-live' (TTL) duration. There is no direct evidence in the commit that this fixes a security vulnerability; it appears to be a routine dependency pin and test update.
Review the cs_openalias commit d8fc7c0a7e0b4a4c2586776fd36c22702419cc52 separately to determine whether it contains security fixes. Because this Stack Wallet commit only pins the new version and updates tests, the security relevance depends entirely on the upstream dependency changes, which are not included in the supplied diff.
Security signals we found
Dependency version changed, but no security claim made in commit message
New dependency API requires TTL field on recipient records
No application code changes; only test fixtures updated
Evidence from the diff
The change pins the cs_openalias Git dependency from commit 6c9376e1a196eec811a04c289e0008d928591427 to d8fc7c0a7e0b4a4c2586776fd36c22702419cc52 in both pubspec.lock and the pubspec template. The new dependency version requires an OpenAlias recipient to carry a ttl field. The commit only updates test fakes to supply a TTL (Duration(minutes: 5)). No application logic changes are present in the diff.
Changed components
pubspec.lockscripts/app_config/templates/pubspec.template.yamltest/pages/send_view/open_alias_preview_test.darttest/services/openalias/open_alias_service_test.dartcs_openalias dependencyInspect captured patch +6 / −3
### pubspec.lock
@@ -520,8 +520,8 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: "6c9376e1a196eec811a04c289e0008d928591427"
- resolved-ref: "6c9376e1a196eec811a04c289e0008d928591427"
+ ref: d8fc7c0a7e0b4a4c2586776fd36c22702419cc52
+ resolved-ref: d8fc7c0a7e0b4a4c2586776fd36c22702419cc52
url: "https://github.com/cypherstack/cs_openalias.git"
source: git
version: "0.0.1"
### scripts/app_config/templates/pubspec.template.yaml
@@ -124,7 +124,7 @@ dependencies:
cs_openalias:
git:
url: https://github.com/cypherstack/cs_openalias.git
- ref: 6c9376e1a196eec811a04c289e0008d928591427
+ ref: d8fc7c0a7e0b4a4c2586776fd36c22702419cc52
socks_socket: ^2.0.0
local_auth: ^2.3.0
permission_handler: ^13.0.1
### test/pages/send_view/open_alias_preview_test.dart
@@ -337,6 +337,7 @@ class _Harness {
domain: 'alice.example.com',
address: literal,
fields: const {'recipient_address': literal},
+ ttl: const Duration(minutes: 5),
),
);
}
@@ -488,6 +489,7 @@ void main() {
domain: 'bob.example.com',
address: 'second-recipient',
fields: const {'recipient_address': 'second-recipient'},
+ ttl: const Duration(minutes: 5),
),
);
await h.finish(tester);
### test/services/openalias/open_alias_service_test.dart
@@ -235,6 +235,7 @@ void main() {
domain: 'alice.example.com',
address: 'resolved',
fields: const {'recipient_address': 'resolved'},
+ ttl: const Duration(minutes: 5),
),
),
() {},Why this scored 19/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.