Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.31 KB

README.md

File metadata and controls

51 lines (37 loc) · 1.31 KB

atauth

Building atauth from source code will output an atactivate binary that can be used to activate an atsign.

Building Source

Below are instructions on building the atauth package from source code using CMake. It is assumed that you have CMake version 3.24 or laterinstalled. If you do not have CMake installed, you can typically download it using your package manager like apt-get or brew or even pip.

Installing on Linux/MacOS

  1. Get ahold of the source code either via git clone or from downloading the source tarball from our releases:
git clone https://github.com/atsign-foundation/at_c
cd at_c/packages/atauth
  1. CMake configure
cmake -S . -B build
  1. Build
cmake --build build
  1. Now you have the atactivate binary which can be found in the build directory.
cd build
./atactivate

You should get an output similar to the following:

jeremy@atsign:~/GitHub/at_c_docs/packages/atauth/build$ ./atactivate 
Error: -a (atsign) is mandatory.
Usage: ./atactivate -a atsign -c cram-secret -o otp [-r root-server] [-p port]
Cannot proceed without either of CRAM secret on enroll OTP.
Usage: ./atactivate -a atsign -c cram-secret -o otp [-r root-server] [-p port]
[ERROR] 2024-12-03 03:25:43.062391 | atactivate | Aborting with exit code: 1