App-OnePif
view release on metacpan or search on metacpan
script/1pif view on Meta::CPAN
1password> list
passwords.Password
1 Foo
2 Bar
...
securenotes.SecureNote
5 Whatever
6 Hello all...
...
...
You will notice that each record is associated to a numeric identifier,
that will be the same through the whole session.
1Password assignes a type to each record. You can see which types are
available in your export through command C<types> (abbreviated C<ts>).
1password> types
<*> * (accept any type)
card (also: cards wallet.financial.CreditCard)
form (also: forms webforms.WebForm)
license (also: licenses wallet.computer.License)
note (also: notes securenotes.SecureNote)
p (also: password passwords passwords.Password)
system.Tombstone
system.folder.Regular
system.folder.SavedSearch
If you only want to work with a specific type with the C<list> or C<search>
commands, you can set the desired type with command C<type> (abbreviated C<t>).
1password> type passwords
1password> list
1 Foo
2 Bar
...
The C<search> (abbreviated C<s>) command does a literal search through a YAML
rendition of each record. It's like using Perl's function C<index>, so there
is no regular expressions magic, apart that the search is performed without
caring for the case.
1password> search foo
1 Foo
When you want to look at a specific record, use command C<print> (abbreviated
C<p>) with the numeric identifier of the record you're interested into:
1password> print 1
---
_id: 1
contentsHash: f87f3cd8
createdAt: 1234567890
location: 'Service or Application Name'
locationKey: 'service or application name'
secureContents:
password: you-wish
securityLevel: SL5
title: Foo
typeName: passwords.Password
updatedAt: 1234567890
uuid: FD7E562E94D447DCB8F3C3825F8471D9
All the fields you see come from the 1Password export, except for C<_id> that
is added by C<1pif>.
To exit from the program, you can use either command C<quit> (abbreviated with
C<q> or, if you use SQLite, also C<.q>) or command C<exit> (abbreviated C<e>),
in which case you can also pass an exit return code.
=head1 SEE ALSO
On GitHub you can find a few projects for dealing directly with the
original, I<encrypted> version of the 1Password database. For example, you
might want to check out the following projects:
=over
=item *
L<https://github.com/georgebrock/1pass>
=item *
L<https://github.com/oggy/1pass>
=item *
L<https://github.com/robertknight/passcards>
=back
=head1 AUTHOR
Flavio Poletti <polettix@cpan.org>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2016 by Flavio Poletti polettix@cpan.org.
This module is free software. You can redistribute it and/or
modify it under the terms of the Artistic License 2.0.
This program is distributed in the hope that it will be useful,
but without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.
=cut
( run in 0.544 second using v1.01-cache-2.11-cpan-39bf76dae61 )