canonical / canonical/microcluster

Optimise authentication

Open
#592 0 comments 0 reactions 0 assignees View on GitHub
feature Jira
Dominant language
Go
Stars
33
Forks
39
Avg merge
4h 49m
Merged PRs (30d)
6

Description

> Not for this PR but we should revisit this authentication function at some point. We shouldn't need to copy the whole trust store for every API call. Instead we should look at the peer certificates any retrieve exactly one matching certificate by fingerprint, then perform the full byte-for-byte comparison.

_Originally posted by @markylaing in [#590](https://github.com/canonical/microcluster/pull/590/changes/ce5d2fa395325293a67aa6124378577a4bdb09d3#r2708974640)_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.