Commit Graph
11 Commits
Author SHA1 Message Date
WLTBAgent 8d3eedc6a3 Document password limitation in README
Added warning about passwords containing spaces, double quotes,
or $ characters potentially failing the build.
2026-02-23 22:02:17 +00:00
WLTBAgent 6a90e5f0e5 Simplify build.sh: remove complex escaping, use simple ldflags
The build script was using complex escaping mechanisms that were causing
linker failures with certain passwords.

Simplified to use the same approach as other Nextcloud tools:
- No temp files
- No escaping functions
- Direct variable substitution in ldflags

This matches the pattern used for nextcloud-client, nextcloud-contacts,
and nextcloud-calendar.

Known limitation: Passwords containing spaces, double quotes,
or $ characters may fail to build. Users with such passwords
should use a simpler password or manually modify the build command.
2026-02-23 22:02:08 +00:00
WLTBAgent 154a93a148 Fix build.sh: add proper escaping for nextcloud-mail ldflags
The build was failing with Go linker errors because special characters in
user-provided credentials (especially passwords) were not being properly escaped.

Added escape_ldflag() function to handle:
- Backslashes
- Double quotes
- Spaces

This ensures that any user input (including passwords with special characters)
is safely passed to Go's linker without breaking the build command.
2026-02-23 21:55:51 +00:00
WLTBAgent 72b4337cc2 Fix build.sh: remove non-existent tools (capabilities, notifications, tasks, talk)
Only build tools that actually exist:
- nextcloud-client (WebDAV files)
- nextcloud-contacts (CardDAV address books)
- nextcloud-calendar (CalDAV events)
- nextcloud-mail (IMAP/SMTP email)

Updated README to reflect correct tool count
2026-02-23 21:52:48 +00:00
WLTBAgent 2444d5216e Update build.sh to prompt for separate IMAP/SMTP credentials for mail integration 2026-02-23 19:48:25 +00:00
WLTBAgent d5af629462 Document credential separation: Nextcloud Mail uses different IMAP/SMTP credentials 2026-02-23 19:45:50 +00:00
WLTBAgent df88a28c85 Remove unnecessary credential obfuscation
Current compile-time approach is correct for bootstrap architecture:
- Credentials only used during build
- Agent never sees them after
- No binary distribution
- Strings extraction is irrelevant threat

Obfuscation was over-engineering for this use case.
2026-02-20 21:54:49 +00:00
WLTBAgent 9ef256ec0a Add credential obfuscation system
- build-obfuscated.sh: XOR encryption with random 256-bit key
- obfuscation/obfuscation.go: Runtime de-obfuscation package
- OBFUSCATION.md: Documentation and security comparison
- Prevents casual extraction with 'strings' command
- Medium security: Good for personal use, env vars for production
2026-02-20 21:40:37 +00:00
WLTBAgent 914845a59f Add comprehensive testing plan and quick test script
- TEST-PLAN.md: 38 detailed tests covering all features
- quick-test.sh: Automated quick test for basic functionality
- Tests include IMAP, SMTP, attachments, SSL/TLS, error handling
2026-02-20 18:08:47 +00:00
WLTBAgent e108f8a8da Initial commit: Nextcloud integration with Files, Contacts, Calendar, and Mail
- CLI tools: nextcloud-client, nextcloud-contacts, nextcloud-calendar, nextcloud-mail
- Build script with compile-time credentials
- Skills for all four tools
- Full documentation and examples
- Email tool supports IMAP/SMTP with attachment download
- SSL/TLS support with optional certificate validation
2026-02-20 18:08:47 +00:00
WLTBAgent 705f41a872 Add Nextcloud integration tools
- CLI tools: nextcloud-client, nextcloud-contacts, nextcloud-calendar, nextcloud-mail
- Build script with compile-time credentials
- Skills for all four tools
- Email tool supports IMAP/SMTP with attachment download
2026-02-20 17:24:13 +00:00