Skip to content

How to set secret key on Mac #999

Answered by cdaein
cdaein asked this question in Q&A
Oct 15, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

I found a way by using EnvironmentVariables key in the .plist file.

After the first login (and saving info) to Shiori in the browser, the login state persists even after computer restarts.

I think it would be helpful to add this to the Shiori doc for other Mac users.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>local.app.shiori</string>
  <key>EnvironmentVariables</key>
  <dict>
      <key>SHIORI_HTTP_SECRET_KEY</key>
      <string>somerandomvalue123489</string>
  </dict>
  <key>ProgramArguments</key>
  <array>
    <string>/Users/[USERN…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@cdaein
Comment options

Comment options

You must be logged in to vote
2 replies
@Monirzadeh
Comment options

@cdaein
Comment options

Answer selected by fmartingr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants