Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 01330de

Browse files
committed
Add target to create base64 output for arti-directory
The arti-directory repository creates a new set of nodes every day, but it needs the certificate of the authority. Now you can create these with make secrets_authority
1 parent 7026227 commit 01330de

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@ check-password:
2929
ifeq ($(DIR_AUTH_PASSWORD), )
3030
$(error Environment variable DIR_AUTH_PASSWORD is undefined or invalid.)
3131
endif
32+
33+
secrets_authority: $(AUTH_DIR)
34+
tar cjf auth.tgz $(AUTH_DIR) $(DIR_CACHE)/{certificate.txt,authority.txt}
35+
base64 -i auth.tgz
36+
rm auth.tgz
37+
echo $$DIR_AUTH_PASSWORD

0 commit comments

Comments
 (0)