Skip to content

core(sec): remove TLS certificates and improve encryption (+other fixes) - #3

Merged
kickhead13 merged 6 commits into
mainfrom
bug-fixing
Mar 16, 2026
Merged

core(sec): remove TLS certificates and improve encryption (+other fixes)#3
kickhead13 merged 6 commits into
mainfrom
bug-fixing

Conversation

@kickhead13

Copy link
Copy Markdown
Member

Our old (and very dangerous) strategy was to
import TLS certificates for HTTPS straight into
the image of ash tray at build time. This is stupid
and for sure not a good idea.

Instead of doing this we (for now) will allow nginx
to handle pathing and certificates. This change
also enables as to deploy this component to k8s
which will then be handling the certificates.

On top of this, I also improved both content quality
and encryption safety in this PR by swapping
basic AES encryption with AES-GCM (Galois/Counter
Mode), which assures data integrity and also handles
data of different sizes that is not excatly in sync
with block sizes.

Ana Alexandru-Gabriel added 4 commits February 13, 2026 18:10
Our old (and very dangerous) strategy was to
import TLS certificates for HTTPS straight into
the image of ash tray at build time. This is stupid
and for sure not a good idea.

Instead of doing this we (for now) will allow nginx
to handle pathing and certificates. This change
also enables as to deploy this component to k8s
which will then be handling the certificates.

On top of this, I also improved both content quality
and encryption safety in this PR by swapping
basic AES encryption with AES-GCM (Galois/Counter
Mode), which assures data integrity and also handles
data of different sizes that is not excatly in sync
with block sizes.

@OllieOlafsson OllieOlafsson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ok boomah

@AlexDuna AlexDuna left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I believe the changes are fine.

@Doru991 Doru991 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Not exactly my area of expertise but should be fine as far as I can see.

@Doru991

Doru991 commented Feb 16, 2026

Copy link
Copy Markdown

Note: Due to the file upload endpoint modification, we should wait until the frontend has a corresponding PR and merge both at the same time.

@kickhead13
kickhead13 merged commit 607066c into main Mar 16, 2026
2 checks passed
kickhead13 pushed a commit that referenced this pull request Mar 16, 2026
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.

4 participants