mirror of
https://github.com/token2/fido2-manage.git
synced 2026-04-09 10:45:39 +00:00
Update README.MACOS.md
This commit is contained in:
@@ -15,55 +15,53 @@ Welcome to the early-stage version of the FIDO2-Manage Script adaptation for mac
|
||||
|
||||
2. **Install other prerequisites using brew**
|
||||
|
||||
`brew install zlibbrew`
|
||||
`brew install zlibbrew`
|
||||
|
||||
`brew install cmake`
|
||||
`brew install cmake`
|
||||
|
||||
`brew install libcbor`
|
||||
`brew install libcbor`
|
||||
|
||||
`brew install libcblite`
|
||||
`brew install libcblite`
|
||||
|
||||
`brew install libsolv`
|
||||
`brew install libsolv`
|
||||
|
||||
`brew install libuv`
|
||||
`brew install libuv`
|
||||
|
||||
`brew install pkg-config`
|
||||
`brew install pkg-config`
|
||||
|
||||
`brew install grep`
|
||||
`brew install grep`
|
||||
|
||||
|
||||
3. **Clone and compile**
|
||||
|
||||
`git clone https://github.com/Token2/fido2-manage.git`
|
||||
`git clone https://github.com/Token2/fido2-manage.git`
|
||||
|
||||
`cd fido2-manage`
|
||||
`cd fido2-manage`
|
||||
|
||||
`rm -rf build && mkdir build && cd build && cmake -USE_PCSC=ON ..`
|
||||
`rm -rf build && mkdir build && cd build && cmake -USE_PCSC=ON ..`
|
||||
|
||||
`cd ..`
|
||||
`cd ..`
|
||||
|
||||
`make -C build`
|
||||
`make -C build`
|
||||
|
||||
`sudo make -C build install`
|
||||
|
||||
`chmod 755 fido2-manage-mac.sh`
|
||||
`sudo make -C build install`
|
||||
|
||||
`chmod 755 fido2-manage-mac.sh`
|
||||
|
||||
4. **Test the script**
|
||||
|
||||
Plug in your FIDO2 key and run the command below:
|
||||
|
||||
`/fido2-manage-mac.sh -list`
|
||||
`/fido2-manage-mac.sh -list`
|
||||
|
||||
The output should be similar to below:
|
||||
```console
|
||||
MacBook-Air fido2-manage % ./fido2-manage-mac.sh -list
|
||||
Device [1] : TOKEN2 FIDO2 Security Key(0026
|
||||
Device [2] : TOKEN2 FIDO2 Security Key
|
||||
|
||||
```
|
||||
```console
|
||||
MacBook-Air fido2-manage % ./fido2-manage-mac.sh -list
|
||||
Device [1] : TOKEN2 FIDO2 Security Key(0026
|
||||
Device [2] : TOKEN2 FIDO2 Security Key
|
||||
```
|
||||
|
||||
### Usage ###
|
||||
The syntax and command line parameters are similar to our [fido2-manage.exe tool for Windows](https://www.token2.com/site/page/fido2-token-management-tool-fido2-manage-exe).
|
||||
The syntax and command line parameters are similar to our [fido2-manage.exe tool for Windows](https://www.token2.com/site/page/fido2-token-management-tool-fido2-manage-exe).
|
||||
|
||||
Make sure you replace `fido2-manage.exe` with `fido2-manage-mac.sh` when issuing the commands.
|
||||
|
||||
Reference in New Issue
Block a user