{"modulePath":"github.com/Coding/drone","version":"v0.3.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package sshutil\n\n## Constants\n\n```go\nconst (\n\tRSA_BITS     = 2048 // Default number of bits in an RSA key\n\tRSA_BITS_MIN = 768  // Minimum number of bits in an RSA key\n)\n```\n\n## Functions\n\n```go\nfunc GeneratePrivateKey() (*rsa.PrivateKey, error)\n```\nhelper function to generate an RSA Private Key.\n\n```go\nfunc MarshalPrivateKey(privkey *rsa.PrivateKey) string\n```\nhelper function that marshalls an RSA Private Key to a PEM encoded file.\n\n```go\nfunc MarshalPublicKey(pubkey *rsa.PublicKey) string\n```\nhelper function that marshalls an RSA Public Key to an SSH .authorized\\_keys format\n\n","path":"github.com/Coding/drone/shared/sshutil","name":"sshutil","synopsis":"","isRedistributable":true}
