Skip to content

Commit

Permalink
Merge pull request #827 from aaronwmorris/dev
Browse files Browse the repository at this point in the history
README updates related to security
  • Loading branch information
aaronwmorris committed Jul 8, 2023
2 parents fb9de62 + be78128 commit 43ced7a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,15 @@ indi-allsky is software used to manage a Linux-based All Sky Camera using the IN

MacOS support is theoretically possible, but not tested.


### Security
In an effort to increase security, I am trying to do a better job of tracking security issues in indi-allsky and the associated Software Bill of Materials. GitHub Dependabot alerts are enabled which help track things like vulnerable Python modules.

https://github.com/aaronwmorris/indi-allsky/wiki/Security-considerations

https://github.com/aaronwmorris/indi-allsky/wiki/Security-Notifications


### libcamera support
libcamera is a new camera interface designed to replace the legacy camera interfaces such as V4L2.

Expand Down
2 changes: 1 addition & 1 deletion indi_allsky/aurora.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def update(self, camera):
def download_json(self, url):
logger.warning('Downloading %s', url)

r = requests.get(url, allow_redirects=True, verify=True)
r = requests.get(url, allow_redirects=True, verify=True, timeout=15.0)

if r.status_code >= 400:
logger.error('URL returned %d', r.status_code)
Expand Down
2 changes: 1 addition & 1 deletion testing/aurora_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def main(self):

def download_json(self, url, tmpfile):
logger.warning('Downloading %s', url)
r = requests.get(url, allow_redirects=True, verify=True)
r = requests.get(url, allow_redirects=True, verify=True, timeout=15.0)

if r.status_code >= 400:
logger.error('URL returned %d', r.status_code)
Expand Down

0 comments on commit 43ced7a

Please sign in to comment.