coorasse / passkit

Wallet Pass generation for Ruby On Rails
MIT License
86 stars 25 forks source link

Configurable encryption key #21

Closed egeek closed 7 months ago

egeek commented 7 months ago

Our security policies require us to use different encryption keys for different activities. This change allows the encryption key to be configured using an environment variable called PASSKIT_URL_ENCRYPTION_KEY. If that variable isn't set, then it falls back to using Rails.application.secret_key_base.