Documentation
¶
Index ¶
- func CreateAnnotations(cmd *cobra.Command) (map[string]any, error)
- func CreateEd25519Key(cmd *cobra.Command) (_public []byte, _private []byte)
- func CreateRsaKey(cmd *cobra.Command)
- func CreateX25519Key(cmd *cobra.Command) (_public []byte, _private []byte)
- func PrintEd25519PrivateKey(private ed25519.PrivateKey, cmd *cobra.Command)
- func PrintEd25519PublicKey(private ed25519.PrivateKey, cmd *cobra.Command)
- func PrintX25519PrivateKey(private *[32]byte, cmd *cobra.Command)
- func PrintX25519PublicKey(public *[32]byte, cmd *cobra.Command)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRsaKey ¶
Generate an RSA key, called by `passcard create --rsa`.
func PrintEd25519PrivateKey ¶
func PrintEd25519PrivateKey(private ed25519.PrivateKey, cmd *cobra.Command)
func PrintEd25519PublicKey ¶
func PrintEd25519PublicKey(private ed25519.PrivateKey, cmd *cobra.Command)
func PrintX25519PrivateKey ¶
func PrintX25519PublicKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.