Commit Graph

28 Commits

Author SHA1 Message Date
neon443
1e3a57d788 added dialogview for custom dialogs
added nice green color
updated debug host
reduced sleep greatly
removed channel checker in sshqueasync loop
set dark mode on the app
gonna start work on async in sshhandler
2025-06-24 12:33:52 +01:00
neon443
3f2c92cd91 massively optimised reading from ssh, reduced cpu usage and energy usage 2025-06-24 09:48:33 +01:00
neon443
1bb761d80e swift 6 underway 2025-06-23 20:33:31 +01:00
neon443
8df8c77c7a implemented actually using Host.publicKey and Host.privateKey to store pubkeys and privkeys
- this gives u icloud synced pub/privkeys
 - per host!!
made it load the key's string representation (if present) into the textboxes to tell the user that the key is there
made the privkey box a securefield to show .... instead of the key

added a handler.go() to handler disconnecting if connected and choosing password/pubkey auth
- really cleaned up the view code
added getPubkey(_: SecKey) to keychainmanager
added SSHErrors - commfail, connectionFail, backenderror
added AuthError - rejectedCreds, notconnected
added KeyError - importpub/privError, pub/priv rejected
made most functions throw in sshhandler
fix memoryLayoutsize(ofvalue to buffer.count in testexec
[weak self] in the async loop to prevent memory leaks i guess
added loccritical for easy red logging
2025-06-23 12:51:41 +01:00
neon443
b691224e39 encryption compliance 2025-06-23 09:41:29 +01:00
neon443
aab1756b5a bump version
remove send Ax256
change powerplug.portrait to power
reduce time from 10_000 to 1_000
remove sending print
add shellview
2025-06-22 19:53:12 +01:00
neon443
b60e8f4eed can kinda type - it gets sent to teh server, but doesnt refres :skulk: 2025-06-22 16:24:21 +01:00
neon443
1cf9518e0f remove terminal string
rewrote authWithPubkey() to not write files and take data direcytly
remove read loop (comment adding it)
readfromchannel returns string
using swifterm to do terminal emulation
2025-06-22 10:51:21 +01:00
neon443
a06de0b4c4 hostsview - list of hosts
hostmanager for loading and saving hosts to defaults
host.debug/.blank as static vars
fix crash on disconnect by checking for connection in timer before checking if channel is open
keychain layer? to convert ed25519 to seckey and back for keychain storage
generate ed25519 via cryptokit
2025-06-20 13:40:20 +01:00
neon443
86dd316e33 added a keymanager and keymanagerview, can ontly generate 4096 rsa rn
uses seckey
2025-06-20 10:31:22 +01:00
neon443
a9eeb55cf6 moved lots of logic into sshHandler
increased deployment target bc i cba rn
2025-06-16 13:50:13 +01:00
neon443
d4e1660728 added a terminal
currently doesnt work
using runestone as the terminal
2025-06-09 17:25:05 +01:00
neon443
e440168a28 Wrote a Host Protocol for easy stroing of hosts
a debugHost for reusable root:root@localhost:2222
blankHost for - well - blank hosts
gonna add userdefaults
added iclodu entitlement
added viewmodifier: foregroundStyle if 17.0+ and foregroundColor for else
2025-06-08 20:54:49 +01:00
neon443
e786d31da9 YESS
now displays shell on screen!!
currently view only :cry but still
2025-06-07 21:18:30 +01:00
neon443
b395876156 trying runloop with dispatchqueue 2025-06-07 20:40:16 +01:00
neon443
d6c00299e9 update icon to remove transperancy, add ci scripts 2025-06-07 19:12:22 +01:00
neon443
d57b5c0b0b add read from channel
remove button for appstore connect submission
lower ios version
update icon to remove transparency
2025-06-07 18:30:24 +01:00
neon443
f979ea4e9c add xcode config file 2025-06-06 21:38:51 +01:00
neon443
261e2d8be5 track authorization status fixing freeze when trying to auth when already authorized
fix authWithNone
fix debug settings
2025-06-06 21:33:17 +01:00
neon443
9b71bcde57 clean shellhandler for libssh
remove blink from project, just using LibSSH, openssl, libz directly
2025-06-05 20:09:24 +01:00
neon443
760fb03fd0 Added a testExec function that will try to execute uptime on the hardcoded server
delete nmssh
2025-06-05 18:32:15 +01:00
neon443
71099f09b6 FUCK YES
weve got ssh!!!
2025-06-05 17:40:39 +01:00
neon443
165cf12a5a readd blink 2025-06-05 12:55:20 +01:00
neon443
4e2c47f09a using blink shell's ssh for ssh instead of nmsssh idk why it doesnt work 2025-06-05 12:46:42 +01:00
neon443
7d206478ea fix dependencies building, looks like i cant use the sim bc libs are compiled for ios 2025-06-05 11:17:37 +01:00
neon443
2a2ed76f58 remove niossh 2025-06-05 10:18:28 +01:00
neon443
3ffb137d08 add swift nio ssh 2025-06-04 21:33:30 +01:00
neon443
024b88cd6b Initial Commit 2025-06-02 17:20:49 +01:00