crypto

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2025 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BruteForce

type BruteForce struct {
	ProjectSalt  string `arg:""`
	BucketName   string `arg:""`
	EncryptedKey string `arg:""`
	PasswordFile string `arg:""`
}

func (BruteForce) Run

func (d BruteForce) Run() error

type Crypto

type Crypto struct {
	DecryptKey  DecryptKey  `cmd:""`
	EncryptPath EncryptPath `cmd:"" usage:"encrypt path with access grant"`
	DecryptPath DecryptPath `cmd:"" usage:"decrypt path with access grant"`
	Crack       BruteForce  `cmd:""`
}

type DecryptKey

type DecryptKey struct {
	ProjectSalt  string `arg:""`
	BucketName   string `arg:""`
	EncryptedKey string `arg:""`
	Password     string `arg:""`
}

func (DecryptKey) Run

func (d DecryptKey) Run() error

type DecryptPath added in v1.11.0

type DecryptPath struct {
	Bucket string `arg:""`
	Key    string `arg:""`
}

func (DecryptPath) Run added in v1.11.0

func (d DecryptPath) Run() error

type EncryptPath added in v1.10.0

type EncryptPath struct {
	Bucket string `arg:""`
	Key    string `arg:""`
	Hash   bool   `help:"Also print out the hashed path (used by eventkit)"`
}

func (EncryptPath) Run added in v1.10.0

func (d EncryptPath) Run() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL