keepasshttp

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package keepasshttp provide tools to see and manipulate KeePass credentials through keePassHTTP plugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *keePassHTTP

New creates a keePassHTTP instance with default values

func NewAES256CBCPksc7

func NewAES256CBCPksc7(key []byte, iv []byte) (aes256cbc *aes256CBCPksc7, err error)

NewAES256CBCPksc7 is an simple helper to do AES256 encryption/decryption.

Types

type Credential

type Credential struct {
	Login        string
	Password     string
	Url          string
	Uuid         string
	StringFields map[string]string
	// contains filtered or unexported fields
}

Credential is a container for KeePass credential.

func (*Credential) Commit

func (credential *Credential) Commit() error

Commit update an existing entry in KeePass database. It won't work on a newly created Credential, use use `kph.update(credential)` instead.

type Filter

type Filter struct {
	Url       string
	SubmitUrl string
	Realm     string
}

Filter is a group of string used for filtering KeePass entries. All fields are optional.

Jump to

Keyboard shortcuts

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