Bad pilot pin test case issue


#1

Hi,
As i am testing bad pilot pin test case, as per guidance manual there should be field to enter pilot pin during the process of applying permission artifact.(for referance please find the attached screen shot from guidance manual). As i can see there is no text field in npnt testing tool application which i downloaded from github . please help me out .


#2

@yogananda72,

The hashed pin is necoded in the permission artefact. The manufacturer can have multiple implementations on the input of pilot pin. This is vendor specific, and hence cannot be implemented in the tool. the PIN that you will input should be a part of your NPNT compliant drone’s communication system .

Hope that helps.


#3

@nihal
Hi,
Thanks for the reply. The information what you mentioned is correct but to encode the hashed pin what are the input considerations:
Note: as per documents we need compare the key which we used in permission file to create encoded hashed pin , same pin we need to send as input in my MY NPNT compliant drone’s communication system .


#4

Hope this helps -

Is there any speciffic impelementation detail that is confusing? I am happy to clarify any further doubts on the same


#5

@nihal
Hi,
Thanks for the reply. this will help us to check for further testing.


#6

@nihal
I checked the pilot pin hash method in code. As per observation pilot pin hash is generated with drone public key and secret pin. Doubt is “how all permission artifact files are having different pilotpin hash?” .
Please help me out how you are hashing in code
Need help in following point:
If we are giving same inputs for all the cases so we need to get same pilotpin hash every time except for bad pilot pin check


#7

the pin is hashed and encrypted with the drone public key to prevent basic rainbow table attacks.


#8

@nihal,
With same pilot pin as input, the hash will always be the same, and with the same public key, the encrypted output of the created hash should also be the same. There doesn’t seem any randomness here, then why different outputs every time? Am I saying assuming something wrong somewhere?


#9

@nihal please let us know when this case will be removed from npnt provisional test tool hosted @ http://139.59.71.151/


#10

hey, the pilot pin is removed from the test cases. Please check


#11

@nihal There are still 6 testcases. I believe the total testcases should be 5 if bad pilot pin is removed.


#12

i just checked with the developer of the web tool, the code was patched, but the server wasn’t updated. Please check now, there are 5 cases.


#13

Thanks @nihal for the quick update . Looks fine now .