Skip to main content

Module onepassword_convert

Module onepassword_convert 

Source
Expand description

The 1Password conversion step: downloaded vaults to the ParsedImport the pipeline submits.

Exposed only under the test-utils feature, so the CLI can print what a real account converts to. Not part of this crate’s supported API, and no stability is promised. Maps downloaded 1Password vaults onto the importer’s ParsedImport.

Vaults become folders and every item keeps its title and note. Login and the categories built around a credential land on a login; Credit Card, Identity and SSH Key on their own types. Everything else becomes a secure note. Whatever a mapping does not claim survives as a custom field, with dates, month/year values and addresses rendered as text.

This module drives the walk and picks each item’s mapping; login, credential, card, identity and ssh_key hold the mappings, field the leftover pass that keeps whatever they did not claim, and claimed the bookkeeping that joins the two.

Functions§

convert
Converts every downloaded vault into ciphers, one folder per vault.