Artifact golang-github-mikesmitty-edkey-dev_0.0~git20170222.3356ea4-2_all

Metadata
deb_control_files:
- control
- md5sums
deb_fields:
  Architecture: all
  Depends: golang-golang-x-crypto-dev
  Description: |-
    generates ED25519 private keys in the OpenSSH private key format (Go library)
     Go package edkey allows you to marshal/write ED25519 private keys
     in the OpenSSH private key format.
     .
     Example:
     .
       package main
     .
       import (
           "crypto/rand"
           "encoding/pem"
           "io/ioutil"
           "github.com/mikesmitty/edkey"
           "golang.org/x/crypto/ed25519"
           "golang.org/x/crypto/ssh"
       )
     .
       func main() {
           // Generate a new private/public keypair for OpenSSH
           pubKey, privKey, _ := ed25519.GenerateKey(rand.Reader)
           publicKey, _ := ssh.NewPublicKey(pubKey)
     .
           pemKey := &pem.Block{
               Type:  "OPENSSH PRIVATE KEY",
               Bytes: edkey.MarshalED25519PrivateKey(privKey),
           }
           privateKey := pem.EncodeToMemory(pemKey)
           authorizedKey := ssh.MarshalAuthorizedKey(publicKey)
     .
           _ = ioutil.WriteFile("id_ed25519", privateKey, 0600)
           _ = ioutil.WriteFile("id_ed25519.pub", authorizedKey, 0644)
       }
  Homepage: https://github.com/mikesmitty/edkey
  Installed-Size: '18'
  Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
  Multi-Arch: foreign
  Package: golang-github-mikesmitty-edkey-dev
  Priority: optional
  Section: golang
  Source: golang-github-mikesmitty-edkey
  Version: 0.0~git20170222.3356ea4-2
srcpkg_name: golang-github-mikesmitty-edkey
srcpkg_version: 0.0~git20170222.3356ea4-2

File

golang-github-mikesmitty-edkey-dev_0.0~git20170222.3356ea4-2_all.deb
Binary file golang-github-mikesmitty-edkey-dev_0.0~git20170222.3356ea4-2_all.deb cannot be displayed. you can view it raw or download it instead.

Relations

Relation Direction Type Name
built-using Source package golang-github-mikesmitty-edkey_0.0~git20170222.3356ea4-2

binary package System - - 5 months, 1 week ago 4 months, 1 week
BETA