oneimport

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package oneimport turns a 1Password .1pux zip, an Apple Passwords or Bitwarden CSV, or a Bitwarden unencrypted JSON export into draft items. One shot onto origin. Not Connect. Not MCP. Not sync.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OPDump

type OPDump struct {
	Version string   `json:"veil_op_export"`
	Items   []OPItem `json:"items"`
}

OPDump is the in-memory envelope produced by `veil item import --from-op` when streaming items from the local `op` CLI into oneimport.Parse.

type OPField

type OPField struct {
	ID      string `json:"id"`
	Type    string `json:"type"`
	Purpose string `json:"purpose,omitempty"`
	Label   string `json:"label,omitempty"`
	Value   string `json:"value,omitempty"`
}

type OPItem

type OPItem struct {
	ID       string    `json:"id"`
	Title    string    `json:"title"`
	Category string    `json:"category"`
	URLs     []OPURL   `json:"urls,omitempty"`
	Fields   []OPField `json:"fields,omitempty"`
}

type OPURL

type OPURL struct {
	Href    string `json:"href"`
	Primary bool   `json:"primary,omitempty"`
}

type Row

type Row struct {
	Name     string
	Kind     protocol.ItemKind
	URIs     []string
	Login    string
	Token    []byte
	TOTPSeed []byte
	File     []byte
	FileName string
	MIME     string
}

Row is one item ready for PutItem. Token is the password or a packed card/identity envelope. Secrets stay here until create seals them.

func Parse

func Parse(name string, raw []byte) ([]Row, error)

Jump to

Keyboard shortcuts

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