Skip to content

feat: added crypto libraries analysis and updated setup.md accordingly#72

Merged
Rowuni merged 3 commits into
developfrom
S5-Library-Scanner
May 23, 2026
Merged

feat: added crypto libraries analysis and updated setup.md accordingly#72
Rowuni merged 3 commits into
developfrom
S5-Library-Scanner

Conversation

@Brmstone
Copy link
Copy Markdown
Collaborator

Issue liée

close: #11

Description

New function within crypto_libs.py to let devs use shell commands and get the output.

Tests

Example code to use the functions is at the bottom of the crypto_libs file.

Changements

Added details in setup.md to explain how and from where to use the shell commands function.

Checklist

  • tsc --noEmit passe sans erreur
  • Le backend démarre (uvicorn main:app)
  • Pas de secret / clé / token commité
  • Les types TypeScript sont alignés sur les modèles Pydantic
  • Les changements nécéssaires à la documentation ont été faits

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the agent’s S5 “crypto libraries” scanner by adding a small command-execution helper and initial Windows-focused detection for OpenSSL and SChannel, and documents the helper in SETUP.md.

Changes:

  • Implemented run_command() plus OpenSSL executable discovery/version parsing and SChannel weak-protocol registry checks in agent/scanners/crypto_libs.py.
  • Updated CryptoLibFinding to include PQ readiness and a details field.
  • Added a short note in SETUP.md about reusing the new helper.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
agent/scanners/crypto_libs.py Adds command runner + OpenSSL/SChannel detection logic and expands the crypto libs finding model.
SETUP.md Documents the new reusable run_command() helper.

Comment thread agent/scanners/crypto_libs.py Outdated
Comment thread agent/scanners/crypto_libs.py Outdated
Comment thread agent/scanners/crypto_libs.py Outdated
Comment thread agent/scanners/crypto_libs.py Outdated
Comment thread agent/scanners/crypto_libs.py Outdated
Comment thread SETUP.md Outdated
Comment thread agent/scanners/crypto_libs.py
@Rowuni Rowuni merged commit bd326b7 into develop May 23, 2026
@Rowuni Rowuni deleted the S5-Library-Scanner branch May 23, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S5 - Scanner bibliothèques crypto installées

3 participants