Pleroma doesn't generate a unique signing_salt #533

Closed
opened 2019-01-19 14:35:11 +00:00 by feld · 0 comments
Owner

mix pleroma.instance gen does not generate a unique signing_salt

This is part of the config :pleroma, Pleroma.Web.Endpoint, section:

# Configures the endpoint
config :pleroma, Pleroma.Web.Endpoint,
  url: [host: "localhost"],
  http: [
    dispatch: [
      {:_,
       [
         {"/api/v1/streaming", Elixir.Pleroma.Web.MastodonAPI.WebsocketHandler, []},
         {"/socket/websocket", Phoenix.Endpoint.CowboyWebSocket,
          {nil, {Pleroma.Web.Endpoint, Pleroma.Web.UserSocket, websocket_config}}},
         {:_, Plug.Adapters.Cowboy.Handler, {Pleroma.Web.Endpoint, []}}
       ]}
    ]
  ],
  protocol: "https",
  # reverse_proxies: ["10.0.0.0/8"],
  secret_key_base: "MiquohF2re4Ahiithohdoeph1eishohkeiroich6oew6oich5fi3EiM6aenar2th",
  signing_salt: "CqaoopA2",
  render_errors: [view: Pleroma.Web.ErrorView, accepts: ~w(json)],
  pubsub: [name: Pleroma.PubSub, adapter: Phoenix.PubSub.PG2],
  secure_cookie_flag: true
`mix pleroma.instance gen` does not generate a unique `signing_salt` This is part of the `config :pleroma, Pleroma.Web.Endpoint,` section: ``` # Configures the endpoint config :pleroma, Pleroma.Web.Endpoint, url: [host: "localhost"], http: [ dispatch: [ {:_, [ {"/api/v1/streaming", Elixir.Pleroma.Web.MastodonAPI.WebsocketHandler, []}, {"/socket/websocket", Phoenix.Endpoint.CowboyWebSocket, {nil, {Pleroma.Web.Endpoint, Pleroma.Web.UserSocket, websocket_config}}}, {:_, Plug.Adapters.Cowboy.Handler, {Pleroma.Web.Endpoint, []}} ]} ] ], protocol: "https", # reverse_proxies: ["10.0.0.0/8"], secret_key_base: "MiquohF2re4Ahiithohdoeph1eishohkeiroich6oew6oich5fi3EiM6aenar2th", signing_salt: "CqaoopA2", render_errors: [view: Pleroma.Web.ErrorView, accepts: ~w(json)], pubsub: [name: Pleroma.PubSub, adapter: Phoenix.PubSub.PG2], secure_cookie_flag: true ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma#533
No description provided.