This commit is contained in:
2025-08-25 06:34:39 +02:00
parent 43e7c087db
commit 5f75c542df
4 changed files with 18 additions and 22 deletions

View File

@@ -24,7 +24,7 @@ if agent.keys.len == 0 {
console.print_header('No keys found, generating example key...')
mut key := agent.generate('example_key', '')!
console.print_debug('Generated key: ${key}')
// Load the generated key
key.load()!
console.print_debug('Key loaded into agent')
@@ -35,7 +35,7 @@ if agent.keys.len > 0 {
console.print_header('Working with existing keys...')
for i, key in agent.keys {
console.print_debug('Key ${i+1}: ${key.name}')
console.print_debug('Key ${i + 1}: ${key.name}')
console.print_debug(' Type: ${key.cat}')
console.print_debug(' Loaded: ${key.loaded}')
console.print_debug(' Email: ${key.email}')
@@ -82,4 +82,4 @@ console.print_debug('Test key exists: ${existing_key.name}')
console.print_header('Final SSH Agent Status:')
println(agent)
console.print_header('SSH Agent example completed successfully')
console.print_header('SSH Agent example completed successfully')