Skip to content

Conversation

@marc-romu
Copy link
Member

No description provided.

marc-romu and others added 9 commits April 23, 2025 20:10
…their strong-name, as well as limiting access to setting (#174)

## Description

This update significantly strengthens SmartHopper’s security and
configuration isolation:

- **Enforce assembly signing**: only providers signed with our official
certificate will load. Any unsigned or mismatched‑strong‑name assemblies
are rejected at startup.
- **Restrict settings access**: provider credentials (e.g. API keys) are
now encapsulated behind `ProviderManager`. Other components cannot
directly read or modify sensitive settings.
- **Miscellaneous enhancements**: updated `.windsurfrules` to streamline
code‑generation workflows.

Happy Sant Jordi!

## Breaking Changes

Existing provider assemblies built without the official signing
certificate will no longer load. All providers must be recompiled with
our current key to interoperate.

## Testing Done

- Unit and integration tests confirm:  
  - Settings load/save correctly via `ProviderManager`.
  - Signed providers load and unsigned ones fail as expected.
  - No unintended exposure of sensitive data.

## Checklist

- [x] This PR is focused on a single feature or bug fix --> not exactly,
but...
- [x] Version in Solution.props was updated, if necessary, and follows
semantic versioning
- [x] CHANGELOG.md has been updated
- [x] PR title follows [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) format
- [x] PR description follows [Pull Request Description
Template](#pull-request-description-template)
This PR updates the version badge in the README.md to match the current
version in Solution.props.

This is an automated PR created by the Update Version Badge workflow.
Comment on lines +11 to +28
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'

- name: Restore dependencies
run: dotnet restore SmartHopper.sln

- name: Build solution
run: dotnet build --no-restore --configuration Release SmartHopper.sln

- name: Run all tests
run: dotnet test --no-build --configuration Release --results-directory TestResults

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
@marc-romu marc-romu merged commit 043dbeb into marc-romu/chat Apr 26, 2025
4 checks passed
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.

3 participants