• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

raravena80 / ya / 182
86%
main: 78%

Build:
Build:
LAST BUILD BRANCH: feat/missing-features-and-test-coverage
DEFAULT BRANCH: main
Ran 20 Jan 2026 09:52PM UTC
Jobs 1
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Jan 2026 09:51PM UTC coverage: 86.128% (-4.2%) from 90.33%
182

Pull #57

circleci

raravena80
feat: Add security enhancements and code quality improvements

Security improvements:
- Add SSH key permission validation with warnings for insecure permissions
- Validate HOME environment variable with fallback to homedir.Dir()
- Add file path sanitization to prevent directory traversal attacks
- Add SCP binary validation (existence and executable check)
- Add large file handling with 1MB limit for SSH key files

Code quality improvements:
- Add context support with SSHSessionWithContext for cancellation
- Add comprehensive godoc comments to exported functions
- Improve error messages with detailed context

Test coverage:
- Add TestValidatePath for path traversal detection
- Add TestValidateSCPPath for SCP binary validation
- Add TestMakeSignerPermissions for permission validation
- Add TestMakeSignerLargeFile for size limit handling

Signed-off-by: Ricardo Aravena <raravena80@gmail.com>
Pull Request #57: feat: Add security enhancements and code quality improvements

41 of 67 new or added lines in 4 files covered. (61.19%)

416 of 483 relevant lines covered (86.13%)

0.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
92.45
-2.9% common/crypto.go
6
84.46
-1.83% ops/copy.go
7
62.71
-8.44% cmd/root.go
11
85.71
-12.77% ops/exec.go
Jobs
ID Job ID Ran Files Coverage
1 182.1 20 Jan 2026 09:52PM UTC 9
86.13
CircleCI Job
Source Files on build 182
  • Tree
  • List 9
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #182
  • Pull Request #57
  • PR Base - main (#181)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc