Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot upload logo #65

Closed
XeR opened this issue Oct 19, 2021 · 2 comments
Closed

Cannot upload logo #65

XeR opened this issue Oct 19, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@XeR
Copy link
Contributor

XeR commented Oct 19, 2021

Uploading logo when creating (not importing) a CTF converts it to data://.
The resulting URL is too big for the database.

We either need to write an upload script or upload the logos to the Internet.

@XeR XeR added the bug Something isn't working label Oct 19, 2021
@XeR
Copy link
Contributor Author

XeR commented Oct 21, 2021

Maybe we can use MinIO ?
This appears to be a clone of Amazon S3.
This is one of the 3 self-hosted ways to upload images to Hedgedoc.
On top of that there is a neat guide on how to set it up.

This feels a bit overkill for something as simple as uploading a logo.
Might be worth looking into if we wish to expand CTFNote with file upload capabilities for stuff such as exploits, challenges, etc. (but do we ? Is this really a feature in the scope of CTFNote ?)

@JJ-8
Copy link
Collaborator

JJ-8 commented Oct 22, 2021

I think it would be amazing to also have a small file share per challenge! It would completely eliminate the need of external communication channels during a physical CTF

@XeR XeR closed this as completed in 599f295 Oct 27, 2021
JJ-8 added a commit that referenced this issue Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants