OpenVoiceOS / OpenVoiceOS/raspOVOS
Improve file upload security and error handling in ovos-support script
Open
@JarbasAl is already working on this.
Since Jan 18, 2025.
- Dominant language
- Shell
- Stars
- 52
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Security improvements needed for the file upload functionality in ovos-support script:
- Add user confirmation prompt before upload to allow inspection of potentially sensitive data
- Add proper verification of upload success by checking HTTP status code
- Add error handling for curl failures and network issues
- Extract response body and status code separately for better error reporting
Related PR: #129
Related comment: https://github.com/OpenVoiceOS/raspOVOS/pull/129#discussion_r1920938184
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.