Building atauth from source code will output an atactivate binary that can be used to activate an atsign.
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
.
- 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
- CMake configure
cmake -S . -B build
- Build
cmake --build build
- Now you have the
atactivate
binary which can be found in thebuild
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