Further Updates - please read first:
I have applied miken32’s pull request again and restarted my raspbx.
I note now that it takes approximately 10 seconds for the Apply Config to complete which is a massive improvement and will suffice for the moment.
I have done this with the module signature checking enabled.
I note, however, that the FreePBX dashboard has presented a security alert in relation to the changes that I made to GPG.class.php and states that it needs urgent attention.
I have read that I can run the command:
fwconsole ma refreshsignatures
to fix this problem, which I have done previously and it did fix the problem but it seems to also have undone all the changes I made to GPG.class.php, which defeats the purpose of running this command in this instance.
So, is there a way for miken32’s pull request changes to persist without having this security alert on the dashboard?
Thanks again everyone.
Hi Everyone,
I am very new to FreePBX and I am experiencing this exact same issue.
I have attempted to modify my local GPG.class.php file as per miken32’s pull request (request submitted 6 days ago), which I assume is what will realise the whitelisting that is referred to in this thread, but sadly the problem persists.
I used the subkeys exactly as listed in the pull request and I am wondering if this is the correct thing to do or do I need to customise the subkeys for my installation of FreePBX (running as latest distro of Raspbx on a Raspberry Pi 4)?
I have disabled the module signature checking in the mean time so that I can continue to configure my system. Waiting minutes for the Apply Config to complete is soul destroying.
Would appreciate help on how to implement miken32’s suggested fix, especially with respect to the suspicion I have that I need to populate GPG.class.php with subkeys that are unique to my system.
Thank you all for being so smart and helpful.
Update: I just checked my what I thought was modified version of GPG.class.php and discovered that all edits I have made have been restored to the original version. I presume that this is the result of me running:
fwconsole ma refreshsignatures
Which I thought I needed to do to overcome the security alert in the FreePBX dashboard that was noticed following my modifications to the GPG.class.php file.
Some further thoughts and comments in relation to this would also be appreciated.