fusion44 / blitz_api

A management backend for the RaspiBlitz project written in Python / FastAPI
MIT License
19 stars 18 forks source link

Specify node access data via file path or hex strings #146

Closed fusion44 closed 2 years ago

fusion44 commented 2 years ago

Is your feature request related to a problem? Please describe. Currently only hex strings are accepted for cert and macaroon files.

Describe the solution you'd like The code should be smart enough to see if the value specified in the env is a file path or a hex string. If it is a file path it should auto read the file.