added new unknwn key and update Makefile

This commit is contained in:
Sunny Capt 2023-01-13 00:54:18 +01:00
parent 9b1b93d693
commit 57856fe35c
4 changed files with 32 additions and 2 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.idea
flipperzero-goodies_keys_release*

View File

@ -1,4 +1,4 @@
#### Thanks to everyone who participated in filling this repository:
#### Thanks to everyone who participated in filling https://github.com/wetox-team/flipperzero-goodies repository:
1. https://github.com/rozetkinrobot - escherevatsky@gmail.com
2. https://github.com/SunnyCapt - sunny.capt@tuta.io

View File

@ -1,2 +1,25 @@
RELEASE_NAME=flipperzero-goodies_keys_release`[ ! -z ${RELEASE} ] && echo _${RELEASE} || echo ''`
check-keys:
python3 ./scripts/key-utils/check-duplicates.py
python3 ./scripts/key-utils/check-duplicates.py
clear-keys-release:
rm -rf ./release/ ./flipperzero-goodies_keys_release*
build-keys-release: clear-keys-release
mkdir -p ./release/ibutton/
mkdir ./release/nfc/
mkdir ./release/lfrfid/
cp ./intercom-keys/*/keys/ibutton/* ./release/ibutton/ 2>/dev/null
cp ./intercom-keys/*/keys/nfc/* ./release/nfc/ 2>/dev/null
cp ./intercom-keys/*/keys/lfrfid/* ./release/lfrfid/ 2>/dev/null
cp ./LICENSE ./AUTHORS.md ./release/
echo 'Source repo: https://github.com/wetox-team/flipperzero-goodies\n\n' >> ./release/README.md
echo '```\ncp '${RELEASE_NAME}'/ibutton/* /path/to/flipper_sd_card/ibutton/' >> ./release/README.md
echo 'cp '${RELEASE_NAME}'/nfc/* /path/to/flipper_sd_card/nfc/' >> ./release/README.md
echo 'cp '${RELEASE_NAME}'/lfrfid/* /path/to/flipper_sd_card/lfrfid/\n```' >> ./release/README.md
echo "\nNFC - `find release -type f -name '*.nfc' | wc -l` items" >> ./release/README.md
echo "RFID - `find release -type f -name '*.rfid' | wc -l` items" >> ./release/README.md
echo "IButton - `find release -type f -name '*.ibtn' | wc -l` items" >> ./release/README.md
mv release ${RELEASE_NAME}
zip -r ${RELEASE_NAME}.zip ${RELEASE_NAME}

View File

@ -0,0 +1,6 @@
Filetype: Flipper iButton key
Version: 1
# Key type can be Cyfral, Dallas or Metakom
Key type: Dallas
# Data size for Cyfral is 2, for Metakom is 4, for Dallas is 8
Data: 10 FF FF FF FF 00 00 5D