Skip to content

Commit 43ced7a

Browse files
authored
Merge pull request #827 from aaronwmorris/dev
README updates related to security
2 parents fb9de62 + be78128 commit 43ced7a

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ indi-allsky is software used to manage a Linux-based All Sky Camera using the IN
7878

7979
MacOS support is theoretically possible, but not tested.
8080

81+
82+
### Security
83+
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.
84+
85+
https://github.com/aaronwmorris/indi-allsky/wiki/Security-considerations
86+
87+
https://github.com/aaronwmorris/indi-allsky/wiki/Security-Notifications
88+
89+
8190
### libcamera support
8291
libcamera is a new camera interface designed to replace the legacy camera interfaces such as V4L2.
8392

indi_allsky/aurora.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def update(self, camera):
112112
def download_json(self, url):
113113
logger.warning('Downloading %s', url)
114114

115-
r = requests.get(url, allow_redirects=True, verify=True)
115+
r = requests.get(url, allow_redirects=True, verify=True, timeout=15.0)
116116

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

testing/aurora_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def main(self):
128128

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

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

0 commit comments

Comments
 (0)