Pakiet: golang-github-mikesmitty-edkey-dev (0.0~git20170222.3356ea4-1)
Odnośniki dla golang-github-mikesmitty-edkey-dev
Zasoby systemu Trisquel:
- Install using apturl
- Entry at directory.fsf.org
- Raporty o błędach
- Changelog
- Informacje nt. praw autorskich
Pobieranie pakietu źródłowego golang-github-mikesmitty-edkey:
- [golang-github-mikesmitty-edkey_0.0~git20170222.3356ea4-1.dsc]
- [golang-github-mikesmitty-edkey_0.0~git20170222.3356ea4.orig.tar.xz]
- [golang-github-mikesmitty-edkey_0.0~git20170222.3356ea4-1.debian.tar.xz]
Opiekun:
Original Maintainers:
- Debian Go Packaging Team
- Patrick O'Doherty
- Anthony Fok
Zasoby zewnętrzne:
- Strona internetowa [github.com]
Podobne pakiety:
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) }
Inne pakiety związane z golang-github-mikesmitty-edkey-dev
|
|
|
-
- dep: golang-golang-x-crypto-dev
- Supplementary Go cryptography libraries
Pobieranie golang-github-mikesmitty-edkey-dev
Architektura | Rozmiar pakietu | Rozmiar po instalacji | Pliki |
---|---|---|---|
all | 4,0 KiB | 18 KiB | [lista plików] |