Improed readme

This commit is contained in:
henne 2022-01-21 16:31:11 +01:00
parent 2e106d0831
commit f06a18a8f6
2 changed files with 6 additions and 2 deletions

2
.gitignore vendored
View File

@ -44,3 +44,5 @@ app.*.map.json
/android/app/debug
/android/app/profile
/android/app/release
/android/key.properties

View File

@ -1,6 +1,6 @@
# SnipeIT Scanner App
An app for scanning items.
This is a scanner app for [SnipeIT](https://snipeitapp.com/).
## Creating JSON File for User Dropdown
@ -14,4 +14,6 @@ An app for scanning items.
]
```
The Key needs to be an encrypted API Key from Snipe. It's encrypted using AES in ECB mode using a numeric secret. The PIN in the login screen is prefixed with 0's until it has a length of 32.
A script to generate a user entry for the JSON file lies [Here](encryptKey)
A script to generate a user entry for the JSON file lies [Here](encryptKey)
I would not recommend to make this file available to the internet, as it uses weak pin codes as encryption for your access tokens. It's meant to be only available within your company network.