pub fn new_entry(
item: &Imported,
id: &str,
now: &str,
project: Option<&str>,
category: Option<&str>,
) -> ValueExpand description
Build a fresh entry for a seed that matched nothing in the vault.
secretType is password, not api_key: a TOTP seed is a login’s second
factor, and the password form is the one with a username field for the
account to live in. api_key is empty because there is no password beside it
yet — which is why the add/edit form lets an entry carrying a seed skip its
“value is required” check.