← Back to Pull requests

T7820: Add support for yescrypt encypted hashes #4720

Closed
unknown closed this pull request without merging on Sep 22, 2025 10:08 UTC
View on GitHub
unknown unknown commented on Sep 14, 2025 18:02 UTC
Author

Since Debian Bookworm and higher support this it should probably be added to VyOS as well.

<!-- All PR should follow this template to allow a clean and transparent review -->
<!-- Text placed between these delimiters is considered a comment and is not rendered -->

Change summary


<!--- Provide a general summary of your changes in the Title above -->
This wil add the regex to support yescrypt

Types of changes


<!---
What types of changes does your code introduce? Put an 'x' in all the boxes that apply.
NOTE: Markdown requires no leading or trailing whitespace inside the [ ] for checking
the box, please use [x]
-->
  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Code style update (formatting, renaming)

  • Refactoring (no functional changes)

  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component

  • Other (please describe):
  • Related Task(s)


    <!-- optional: Link to related other tasks on Phabricator. -->
    <!-- * https://vyos.dev/Txxxx -->

    Related PR(s)


    <!-- Link here any PRs in other repositories that are required by this PR -->

    How to test / Smoketest result


    Did not test, just added the correct regex.
    <!---
    Please describe in detail how you tested your changes. Include details of your testing
    environment, and the tests you ran. When pasting configs, logs, shell output, backtraces,
    and other large chunks of text, surround this text with triple backtics
    like this
    

    Or provide the output of the smoketest

    $ /usr/libexec/vyos/tests/smoke/cli/test_xxx_feature.py
    test_01_simple_options (__main__.TestFeature.test_01_simple_options) ... ok
    

    -->

    Checklist:


    <!--- Go over all the following points, and put an x in all the boxes that apply. -->
    <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
    <!--- The entire development process is outlined here: https://docs.vyos.io/en/latest/contributing/development.html -->
  • I have read the CONTRIBUTING document

  • I have linked this PR to one or more Phabricator Task(s)

  • I have run the components SMOKETESTS if applicable

  • My commit headlines contain a valid Task id

  • My change requires a change to the documentation

  • I have updated the documentation accordingly
  • Diff: 320 lines (+240 / -80) across 4 files Reviewer: roedie Review duration: 11046m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 320 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.345
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #4720"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 41.9% (MEDIUM) · Higher = larger blast radius
    41.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.6% · Safe to merge
    16.6%
    Repository