mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 21:36:17 +00:00
updated keypair data structure to have an name, passphrase and type
added generateKy to generate a key, currently only rsa update generateRSA to return the Data for pub and priv, and take a custom size bell animation better, slightly longer in total and easeinout added new generate button hardcoded to a rsa 4096 added keytype to define key types (duh) update getKeys to use the new keypair structure
This commit is contained in:
@@ -184,9 +184,9 @@ class SSHHandler: @unchecked Sendable, ObservableObject {
|
||||
|
||||
func ring() {
|
||||
Task { @MainActor in
|
||||
withAnimation { self.bell = true }
|
||||
try? await Task.sleep(nanoseconds: 250_000_000) // 250ms
|
||||
withAnimation { self.bell = false }
|
||||
withAnimation(.easeIn(duration: 0.1)) { self.bell = true }
|
||||
try? await Task.sleep(nanoseconds: 300_000_000) // 250ms
|
||||
withAnimation(.easeOut(duration: 0.1)) { self.bell = false }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user