51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
(lang dune 3.25)
|
|
|
|
(name totpin)
|
|
|
|
(version 1.5)
|
|
|
|
(generate_opam_files true)
|
|
|
|
(source (uri git+https://dubuget.fr/gitea/matthieu/totpin.git))
|
|
|
|
(homepage https://dubuget.fr/gitea/matthieu/totpin)
|
|
|
|
(bug_reports https://dubuget.fr/gitea/matthieu/totpin/issues)
|
|
|
|
(authors "Matthieu Dubuget <matthieu.dubuget@gmail.com>")
|
|
|
|
(maintainers "Matthieu Dubuget <matthieu.dubuget@gmail.com>")
|
|
|
|
(license ISC)
|
|
|
|
(package
|
|
(name totpin)
|
|
(synopsis "A cli tool to generate TOTP codes")
|
|
(description "Nothing is stored: totpin asks for a base32 secret, or a full otpauth://totp/... URI (which also
|
|
gives the algorithm, the number of digits and the period), without echoing it.
|
|
Two codes are then shown, the current one and the next one, each with its
|
|
countdown. Press any key (or Ctrl-C) to quit.")
|
|
(depends
|
|
(ocaml (>= 5.4))
|
|
console
|
|
re
|
|
eio
|
|
fmt
|
|
eio_main
|
|
console-eio
|
|
digestif
|
|
(bos :build)
|
|
(ocamlfind :build)
|
|
(opam-state :build)
|
|
(ocaml-lsp-server :with-dev-setup)
|
|
(merlin :with-dev-setup)
|
|
(ocamlformat :with-dev-setup)
|
|
(utop :with-dev-setup)
|
|
(odoc :with-doc)
|
|
)
|
|
|
|
(tags
|
|
("totp" "otp" "2fa" "authentication" "command-line-utilities")
|
|
))
|
|
|