• Effective immediately we will be deleting, without notice, any negative threads or posts that deal with the use of encryption and streaming of scanner audio.

    We've noticed a huge increase in rants and negative posts that revolve around agencies going to encryption due to the broadcasting of scanner audio on the internet. It's now worn out and continues to be the same recycled rants. These rants hijack the threads and derail the conversation. They no longer have a place anywhere on this forum other than in the designated threads in the Rants forum in the Tavern.

    If you violate these guidelines your post will be deleted without notice and an infraction will be issued. We are not against discussion of this issue. You just need to do it in the right place. For example:
    https://forums.radioreference.com/rants/224104-official-thread-live-audio-feeds-scanners-wait-encryption.html

OP25 "New" Undocumented Config File Option - 'key'

Joined
Aug 27, 2019
Messages
1
In OP25, there is a file called multi_rx.py. On lines 114 - 115, there is a section of code:


Python:
        if config.has_key('key') and (config['key'] != ""):
            self.set_key(int(config['key'], 0))
This section of code appears to have been introduced on May 6, 2019.

It appears that it is looking in the config file for a 'key' setting; and if present will load the key value from the config file as an integer. (I'm not sure what happens if this value is a non-integer value.)

This, is as far as I can tell, not documented anywhere. It does not appear to be in the provided config file(s).

Other places it may show up:
frame_assembler_impl.cc - line 47-49

C-like:
    void frame_assembler_impl::set_slotkey(int key) {
      d_sync.set_xor_mask(key);
    }
Which was also added at the same time.


Or here.

What is this config setting for?
 
Top