Log generated with permission_artifact_breach.xml


#1

Hello everyone,
I just want to know,what is “log generated with permission artifact breach”(Test Case 5 on digital sky npnt test tool)
Which type of file format is to be uploaded.
please tell me.

thanks


#2

It should be signed flight log in json format with signature field.


#3

Thanks @satyam_amu
It solved my problem


#4

@prash

Can help me with the log format because I tried so many time but it passes only 2 cases.

this is my json log signed with RFM private key:

{
“MaximumAltitude”: 29.111,
“TimeBreach”: [
{
“Latitude”: 18.6445466,
“CRC”: 292924465,
“Altitude”: 1.023,
“Longitude”: 73.8027765,
“Time”: 1570887338120
},
{
“Latitude”: 18.6445465,
“CRC”: 1976805689,
“Altitude”: 0.422,
“Longitude”: 73.8027765,
“Time”: 1570887339123
},
{
“Latitude”: 18.6445465,
“CRC”: 3041872318,
“Altitude”: -0.005,
“Longitude”: 73.8027765,
“Time”: 1570887340125
},
{
“Latitude”: 18.6445465,
“CRC”: 3239433680,
“Altitude”: 0.006,
“Longitude”: 73.8027766,
“Time”: 1570887341126
}
],
“Signature”: “KDU3NDQ4ODc1OTY0MDkxNDM4MDEzMDMwNjkzODYzNTk2MzM5NDU1NDk5NzAyMTYwMDMwMzc4ODQ0ODAxMTEwOTY0ODA0NDE2NTM1MTg4NDM2MDMwMzI0OTQ5MDU0Nzk4MDI3NTY5MTc2MDI2NDIzMDQ2NzgzOTkyMjMwMzgxMDA3MzA2MTg0NDg0ODQyMDcwNTE0NTA0MjkzODgyMjc1OTA4NjI5Njk2ODQyMTM1NDYwNjY2NDM2Njg0ODExODMyMzA0NjA1Nzc3Nzc4MDg0OTc2MDkyMzYwNzUxMjIyMDY0NzkxMjQxMDgzNDE3Mjk5NDI2MzcxNzc5MzczNDA2ODEwNTE1MDUyOTU3NDg5Mjg5MTIwNTMyNDg1ODk1MzIyNTAwOTE4MjI2ODAyNjQzNjUxNjI1MTU0ODU3NDY4NzI2NDIyMzA0MzM2MjAwNTQwNzA4MDczNTQyMTg3OTEwNDY2NTc2NDI4MjQxNzE5NjQ4OTkzMTkxNDcwNjExNzQ4NTk0MjI4MzE4MzEwMDU0ODcxMTQwMDE1OTAwODIxMTMxNjQ4NjkwMDc1MjU1NTU1MTQ5OTE2NjQyMzk0MzI5NjQ2Njk1NzM5OTUyNjM3ODIzMDcxOTE2NjQ2NjIyMzIwMzQ0MDc5MDgxNDQ3MDczMjU1MTAwOTc1NzY4NTg0NDI4MDk0NTgyODg3MzQzNzYyNDY5Nzk2Nzg0ODQ5NDMxOTk4MjYxNzcyMzA5NTQ3NTM4NzIxODE2MjEwOTM5NDc0MDAyMDA2Mjc4OTEzNTI4NTIxMDM1NzY2MjIyNDYxODQzMjA2OTQ2MDFMLCk=”,
“Land”: {
“Latitude”: 18.6445485,
“Timestemp”: 1570887312067,
“Longitude”: 73.8027755
},
“PermissionArtefact”: “”,
“TakeOff”: {
“Latitude”: 18.6445471,
“Timestemp”: 1570884979278,
“Longitude”: 73.8027773
},
“GeofenceBreach”: [
{
“Altitude”: 23.961,
“BreachEndTime”: 0,
“BreachStartTime”: 1570885676413,
“Longitude”: 73.8023942,
“CRC”: 2996607700,
“Latitude”: 18.644559
},
{
“Altitude”: 23.965,
“BreachEndTime”: 0,
“BreachStartTime”: 1570885677415,
“Longitude”: 73.8023518,
“CRC”: 3647091551,
“Latitude”: 18.6445639
},
{
“Altitude”: 23.965,
“BreachEndTime”: 0,
“BreachStartTime”: 1570885678417,
“Longitude”: 73.8023166,
“CRC”: 408218273,
“Latitude”: 18.644568
},
{
“Altitude”: 23.96,
“BreachEndTime”: 0,
“BreachStartTime”: 1570885679419,
“Longitude”: 73.8022907,
“CRC”: 889162523,
“Latitude”: 18.6445706
},
{
“Altitude”: 23.95,
“BreachEndTime”: 0,
“BreachStartTime”: 1570885680420,
“Longitude”: 73.802276,
“CRC”: 3830895406,
“Latitude”: 18.6445719
},
{
“Altitude”: 23.935,
“BreachEndTime”: 0,
“BreachStartTime”: 1570885681423,
“Longitude”: 73.8022725,
“CRC”: 3292329711,
“Latitude”: 18.6445721
},
{
“Altitude”: 23.923,
“BreachEndTime”: 0,
“BreachStartTime”: 1570885682425,
“Longitude”: 73.8022791,
“CRC”: 2068924359,
“Latitude”: 18.6445718
},
{
“Altitude”: 23.923,
“BreachEndTime”: 0,
“BreachStartTime”: 1570885683430,
“Longitude”: 73.8022915,
“CRC”: 381514952,
“Latitude”: 18.6445712
},
{
“Altitude”: 23.923,
“BreachEndTime”: 0,
“BreachStartTime”: 1570885684433,
“Longitude”: 73.8023101,
“CRC”: 3532661500,
“Latitude”: 18.6445705
},
{
“Altitude”: 23.925,
“BreachEndTime”: 0,
“BreachStartTime”: 1570885685435,
“Longitude”: 73.8023361,
“CRC”: 787265677,
“Latitude”: 18.6445694
},
{
“Altitude”: 23.929,
“BreachEndTime”: 0,
“BreachStartTime”: 1570885686438,
“Longitude”: 73.8023679,
“CRC”: 4097867066,
“Latitude”: 18.6445681
},
{
“Altitude”: 23.935,
“BreachEndTime”: 1570885687441,
“BreachStartTime”: 0,
“Longitude”: 73.8024036,
“CRC”: 967439252,
“Latitude”: 18.6445666
}
],
“FlightLog”: [
{
“Altitude”: 9.987,
“Longitude”: 73.8028862,
“CRC”: 1419141671,
“Waypoint”: 1,
“Time”: 1570885019341,
“Latitude”: 18.6445534
},
{
“Altitude”: 9.985,
“Longitude”: 73.8028286,
“CRC”: 1453920365,
“Waypoint”: 2,
“Time”: 1570885053397,
“Latitude”: 18.6444592
},
{
“Altitude”: 9.976,
“Longitude”: 73.8027181,
“CRC”: 2225849584,
“Waypoint”: 3,
“Time”: 1570885248725,
“Latitude”: 18.6444969
},
{
“Altitude”: 23.947,
“Longitude”: 73.802921,
“CRC”: 1616862080,
“Waypoint”: 4,
“Time”: 1570885513162,
“Latitude”: 18.6444941
},
{
“Altitude”: 23.935,
“Longitude”: 73.8022725,
“CRC”: 2634438834,
“Waypoint”: 5,
“Time”: 1570885681423,
“Latitude”: 18.6445721
},
{
“Altitude”: 23.949,
“Longitude”: 73.8026715,
“CRC”: 2498350675,
“Waypoint”: 6,
“Time”: 1570885695455,
“Latitude”: 18.6445532
},
{
“Altitude”: 23.961,
“Longitude”: 73.8028098,
“CRC”: 500920920,
“Waypoint”: 7,
“Time”: 1570885868739,
“Latitude”: 18.6444425
},
{
“Altitude”: 23.938,
“Longitude”: 73.8027017,
“CRC”: 2402084449,
“Waypoint”: 8,
“Time”: 1570886068048,
“Latitude”: 18.6444529
},
{
“Altitude”: 23.936,
“Longitude”: 73.8028367,
“CRC”: 1226015018,
“Waypoint”: 9,
“Time”: 1570886148183,
“Latitude”: 18.6444501
}
]
}


#6

You can verify that the log signature is right using the verify_flight_log_signature method. check if it passes there


#7

Can you test with the offline tool first, to ensure you have the system working fully?


#8

Thank you so much for your help… @nihal