Depot package of gtotp_report
This package relies on its configuration to be supplied by a launcher file or through the deploy configuration. How to protect the secret at rest is an open issue.
This commit is contained in:
12
recipes/pkg/gtotp_report/README
Normal file
12
recipes/pkg/gtotp_report/README
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
GTOTP report
|
||||
|
||||
This package generates reports containing
|
||||
Time-based One-time Passwords generated
|
||||
using the common Google Authenticator algorithm.
|
||||
|
||||
It is configured by a single XML attribute, the shared secret
|
||||
encoded in base32.
|
||||
! ...
|
||||
! <config secret="Fooobaar"/>
|
||||
! ...
|
||||
4
recipes/pkg/gtotp_report/archives
Normal file
4
recipes/pkg/gtotp_report/archives
Normal file
@@ -0,0 +1,4 @@
|
||||
_/src/gtotp_report
|
||||
_/src/libc
|
||||
_/src/stdcxx
|
||||
_/src/vfs
|
||||
1
recipes/pkg/gtotp_report/hash
Normal file
1
recipes/pkg/gtotp_report/hash
Normal file
@@ -0,0 +1 @@
|
||||
-
|
||||
14
recipes/pkg/gtotp_report/runtime
Normal file
14
recipes/pkg/gtotp_report/runtime
Normal file
@@ -0,0 +1,14 @@
|
||||
<runtime ram="4M" caps="128" binary="gtotp_report">
|
||||
|
||||
<requires> <report/> <rtc/> </requires>
|
||||
|
||||
<content>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="gtotp_report"/>
|
||||
<rom label="libc.lib.so"/>
|
||||
<rom label="libm.lib.so"/>
|
||||
<rom label="stdcxx.lib.so"/>
|
||||
<rom label="vfs.lib.so"/>
|
||||
</content>
|
||||
|
||||
</runtime>
|
||||
16
recipes/src/gtotp_report/content.mk
Normal file
16
recipes/src/gtotp_report/content.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
CRYPTOPP_PORT_DIR := $(call port_dir,$(REP_DIR)/ports/cryptopp)
|
||||
MIRROR_FROM_CRYPTOPP = src/lib/cryptopp include
|
||||
|
||||
MIRROR_FROM_REP_DIR := src/app/gtotp_report lib/import/import-cryptopp.mk lib/mk/cryptopp.mk
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_CRYPTOPP) LICENSE
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
$(MIRROR_FROM_CRYPTOPP): $(CRYPTOPP_PORT_DIR)
|
||||
cp -r $</include $</src .
|
||||
|
||||
|
||||
LICENSE:
|
||||
cp $(GENODE_DIR)/LICENSE $@
|
||||
1
recipes/src/gtotp_report/hash
Normal file
1
recipes/src/gtotp_report/hash
Normal file
@@ -0,0 +1 @@
|
||||
-
|
||||
7
recipes/src/gtotp_report/used_apis
Normal file
7
recipes/src/gtotp_report/used_apis
Normal file
@@ -0,0 +1,7 @@
|
||||
base
|
||||
os
|
||||
report_session
|
||||
rtc_session
|
||||
stdcxx
|
||||
timer_session
|
||||
libc
|
||||
@@ -1,5 +1,5 @@
|
||||
TARGET = gtotp_report
|
||||
LIBS += base cryptopp stdcxx
|
||||
LIBS += cryptopp stdcxx libc base
|
||||
SRC_CC += component.cc
|
||||
|
||||
# Effc++ not compatible with CryptoPP headers
|
||||
|
||||
Reference in New Issue
Block a user