Affected by GO-2023-2068
and 5 other vulnerabilities
GO-2023-2068: Croc sender may place ANSI or CSI escape sequences in filename to attach receiver's terminal device in github.com/schollz/croc
GO-2023-2069: Croc may expose secret to local users in github.com/schollz/croc
GO-2023-2070: Croc requires senders to provide local IP addresses in cleartext in github.com/schollz/croc
GO-2023-2071: Sender can cause a receiver to overwrite files during ZIP extraction in Croc in github.com/schollz/croc
GO-2023-2072: Cros secrets may be disclosed to untrusted relay in github.com/schollz/croc
GO-2023-2073: Croc sender may send dangerous new files to receiver in github.com/schollz/croc

The highest tagged major version is
v10.
package
Version:
v2.2.0+incompatible
Opens a new window with list of versions in this module.
Published: Jun 27, 2018
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type KeyPair struct {
Public string `json:"public"`
Private string `json:"private,omitempty"`
}
Load will load from a string
New will generate a new key pair, or reload a keypair
from a public key or a public-private key pair.
Encrypt a message for a recipient
Source Files
¶
Click to show internal directories.
Click to hide internal directories.