Comments (5)
Shiori generates one random every run, but for security purposes it must me set by the user. It is used to sign the sessions for the users (the authentication used to interact with the API).
How are you deploying shiori? docker compose/docker run? It something like this:
# Generate random string
$ openssl rand -hex 32
4c9598950d692a846977b5bc1dd31f3fed1afe1b3252cb8019e7aa914e2a1297
# Run shiori
$ docker run --env SHIORI_HTTP_SECRET_KEY=4c9598950d692a846977b5bc1dd31f3fed1afe1b3252cb8019e7aa914e2a1297 ghcr.io/go-shiori/shiori:dev
from shiori.
Hey @LLKoder, you need to set the SHIORI_HTTP_SECRET_KEY
environment variable to something random to use as key for the session tokens. You can generate a pesudo-random string using openssl
/pwgen
or any number of tools online.
from shiori.
Hi, @fmartingr, do shiori
need this key as unique every time when I start/restart service/system? Can you give a example please? I use shiori
with docker.
Just I don't understand why this EVAR need users. If it don't use users why can shiori
not generate it automatically?
from shiori.
@fmartingr, maybe don't need to close? This issue was remove from your tags either.
from shiori.
Yeah leave it open for now so I use this as a reminder to properly update the docs 👍
from shiori.
Related Issues (20)
- Kubernetes manifests HOT 3
- Share/send to web page HOT 1
- Option to add existing URL as new bookmark HOT 7
- Can Shiori import firefox bookmarks json ? HOT 3
- "Edit bookmark" API docs do not mention required fields correctly
- [meta/discussion] Import/Export functionality HOT 16
- empty epub HOT 6
- Hierarchy / Folders HOT 2
- Logo font not load correctly HOT 5
- google/uuid instead of gofrs/uuid HOT 2
- 500 Internal Server Error when loading main image of bookmarked site
- Folder structure HOT 3
- Import bookmarks from Firefox and Chorme HOT 1
- Having Postgres Set up for Other Things Causes Non-Start of Shiori v1.6* with Sqlite. HOT 1
- Start page bug HOT 3
- Some checkbox of add bookmarks HOT 3
- security context is necessary for Kubernetes HOT 1
- Hashes on integrity attribute on archives are broken
- Batch features
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shiori.