To use passkey in a local environment your server should have a local domain and ssl certificate ...
In Marlinspike codes are generated often to give a unique and traceble identification to an item....