File Coverage

blib/lib/Acme/CPANModules/CLI/PasswordManager.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Acme::CPANModules::CLI::PasswordManager;
2              
3 1     1   419973 use strict;
  1         2  
  1         178  
4              
5             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
6             our $DATE = '2025-01-06'; # DATE
7             our $DIST = 'Acme-CPANModules-CLI-PasswordManager'; # DIST
8             our $VERSION = '0.002'; # VERSION
9              
10             our $LIST = {
11             summary => "List of various password manager CLIs on CPAN",
12             description => <<'MARKDOWN',
13              
14             Password manager CLIs are command-line tools which you can use to store and
15             retrieve password entries.
16              
17             If you know of others, please drop me a message.
18              
19             MARKDOWN
20             entries => [
21             {
22             module => 'App::PasswordManager',
23             script => 'password_manager',
24             description => <<'MARKDOWN',
25              
26             A simple script that lets you add, edit, list, and delete passwords from the
27             CLI. Passwords are stored in `~/.password_manager.json` in a simple JSON object
28             (hash) structure. Currently a very early release that still needs to be updated.
29              
30             Pros:
31              
32             - simplicity.
33              
34             Cons:
35              
36             - At the time of this writing (version 1.0.0) only the password hash is stored
37             and returned, making this application unusable at the moment.
38             - Password must be entered as command-line argument, making it visible from
39             process list and shell history, unless you explicitly disable those.
40             - Cannot add other fields to a record, e.g. comment/note, date, etc.
41             - Usernames are not encrypted.
42              
43             MARKDOWN
44             },
45              
46             {
47             module => 'App::orgadb',
48             script => 'orgadb-sel',
49             description => <<'MARKDOWN',
50              
51             A CLI to read entries from an addressbook file in a specific layout in Org
52             format. This tool can be used to read from a PGP-encrypted addressbook file, and
53             thus can also be used as a password retriever.
54              
55             Pros:
56              
57             - Standard tool and format for the data storage (PGP-encrypted Org file, which
58             can be edited with Emacs).
59              
60             Cons:
61              
62             - Does not come with the functionality of adding/editing/removing entries. Use
63             your editor like Emacs to do so.
64              
65             MARKDOWN
66             },
67             ],
68             };
69              
70             1;
71             # ABSTRACT: List of various password manager CLIs on CPAN
72              
73             __END__