RfidResearchGroup / ChameleonUltra

The new generation chameleon based on NRF52840 makes the performance of card emulation more stable. And gave the chameleon the ability to read, write, and decrypt cards.
https://chameleonultra.com
GNU General Public License v3.0
873 stars 147 forks source link

Update cli.md #109

Closed digitalcardboard closed 1 year ago

digitalcardboard commented 1 year ago

Installing ninja fails without updating keys.

github-actions[bot] commented 1 year ago

You are welcome to add an entry to the CHANGELOG.md as well

github-actions[bot] commented 1 year ago

Built artifacts for commit 81f6dd24733e9c4f032c0c177081ddff9eaf276a

Firmware

Client

GameTec-live commented 1 year ago

key init and populate make key refresh redundant, atleast should make it redundant

doegox commented 1 year ago

@digitalcardboard could you show a log of a failed installation when initial instructions are followed?

digitalcardboard commented 1 year ago

Here's what I have:

pm3 ~/ChameleonUltra/software/src$ pacman -S ninja --noconfirm

resolving dependencies...
looking for conflicting packages...

Packages (1) ninja-1.10.2-1

Total Download Size:   0.12 MiB
Total Installed Size:  0.55 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
--2023-08-28 21:58:20--  https://mirror.jmu.edu/pub/msys2/msys/x86_64/ninja-1.10.2-1-x86_64.pkg.tar.zst
Resolving mirror.jmu.edu (mirror.jmu.edu)... 134.126.124.60
Connecting to mirror.jmu.edu (mirror.jmu.edu)|134.126.124.60|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 128688 (126K) [application/octet-stream]
Saving to: ‘/var/cache/pacman/pkg/ninja-1.10.2-1-x86_64.pkg.tar.zst.part’

/var/cache/pacman/pkg/ninja-1.10. 100%[=============================================================>] 125.67K   445KB/s    in 0.3s

2023-08-28 21:58:22 (445 KB/s) - ‘/var/cache/pacman/pkg/ninja-1.10.2-1-x86_64.pkg.tar.zst.part’ saved [128688/128688]

(1/1) checking keys in keyring                                                    [##############################################] 100% (1/1) checking package integrity                                                  [##############################################] 100% error: ninja: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/ninja-1.10.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

FWIW, this occurred on a fresh download of the ProxSpace.7z as well as an older copy that I had lying around on my laptop. Both were resolved through a refresh, so not sure what wasn't properly installing for me. Happy to try and reproduce.

doegox commented 1 year ago

hmm ok, I'll merge, that doesn't really hurt even if maybe redundant on some installs