Skip to content

Commit e6f23a9

Browse files
author
Heyji
committed
Package otp.0.2
1 parent 5bf5702 commit e6f23a9

File tree

1 file changed

+55
-0
lines changed
  • packages/otp/otp.0.2

1 file changed

+55
-0
lines changed

packages/otp/otp.0.2/opam

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# This file is generated by dune, edit dune-project instead
2+
opam-version: "2.0"
3+
synopsis:
4+
"Time-base One Time Password (OTP) based on RFC6238 with an HMAC-SHA1 algorithm and a 6 digits code in OCAML"
5+
description: """
6+
It relies on the Cryptokit library for cryptography operations, as well as the Base32
7+
library for base32 encoding. The library generate a QR Code with the qrc library. It is
8+
tested against all test vectors provided in RFC 6238 and the test suite provides as well
9+
a dynamic test which requires the use of an client authenticator (like Google Authenticator
10+
or Microsoft Authenticator) as a final test."""
11+
maintainer: ["Heyji2 <[email protected]>"]
12+
authors: ["Heyji2 <[email protected]>"]
13+
license: "GPL-3.0-only"
14+
tags: ["OTP" "TOTP" "HMAC-SHA1" "One Time Password"]
15+
homepage: "https://github.com/Heyji2/otp"
16+
doc: "https://heyji2.github.io"
17+
bug-reports: "https://github.com/Heyji2/otp/issues"
18+
depends: [
19+
"dune" {>= "3.18"}
20+
"ocaml" {>= "4.13"}
21+
"odoc" {with-doc}
22+
"cryptokit"
23+
"base32"
24+
"ounit2"
25+
"hex"
26+
"qrc"
27+
"stdint"
28+
"topkg" {build}
29+
"ocamlfind" {build}
30+
"conf-gmp" {>= "5"}
31+
"conf-gmp-powm-sec" {>= "2"}
32+
]
33+
build: [
34+
["dune" "subst"] {dev}
35+
[
36+
"dune"
37+
"build"
38+
"-p"
39+
name
40+
"-j"
41+
jobs
42+
"@install"
43+
"@runtest" {with-test}
44+
"@doc" {with-doc}
45+
]
46+
]
47+
dev-repo: "git+https://github.com/Heyji2/otp.git"
48+
x-maintenance-intent: ["(latest)"]
49+
url {
50+
src: "https://github.com/Heyji2/otp/archive/refs/tags/0.2.tar.gz"
51+
checksum: [
52+
"md5=a247f41c5d81f0cb272a0a48911e6382"
53+
"sha512=45ad126e917d06fa8c1f5f076b5f09f785c2715914207b66c8a1599229c7a96badff12440a2381d7e0b0e857ef0dc7d56860aa3fb10d08b86261326bad6ba8e6"
54+
]
55+
}

0 commit comments

Comments
 (0)