WAIT: Code signature in Bricks expires every few days

Hi everyone,

I’m running into an issue with Bricks Builder’s code signature.

Every 2–3 days, the signature seems to expire, causing the sections I hid with display: none; to reappear and elements I added via code to vanish. Each time, I have to re-sign the code in Bricks.

Initially, I thought it might be a security plugin regularly changing my WordPress SALT keys. I’ve removed all the security plugins. There were some WP All in One leftover lines in wp-config.php, which I commented out.

The problem still occurs.
• Has anyone else experienced a similar issue where the code signature needs to be regenerated so frequently?
• Is there a known list of plugins that might conflict with or repeatedly trigger a new signature requirement in Bricks?
• Could something else be causing these frequent signature expirations if it’s not the SALT changes?
• Is there any official or unofficial way to disable the code signature requirement, or a best practice to avoid having to re-sign so often?

This is happening on an e-commerce site, and it’s becoming quite frustrating for both me and my client. Any pointers or shared experiences would be highly appreciated.

Thanks in advance for your help.

If you haven’t found a solution for this yet, I would change the category for this post to bug. Maybe the Bricks team could help you more.

no it really should not O_O

far as I know code expires only if you change the url like go from staging to live adress changes …etc or you change the url setting update it too.

SALT keys might be related I am not sure didnt check the core codes for this lets wait one of the dev or mods to check this info.

Is it possible someone else is changing the code on you? Perhaps even an unauthorized user (i.e, you’ve been hacked)?

It did happen to me once now. Are signatures designed to expire after a year? I had all of my custom code elements change to unsigned. Most of them were created a year ago.

@sinanisler yes, on the Custom Code tab in Bricks settings, it does say resetting WordPress salts will reset the signatures.

Also see: Issue - Salts for custom code resetting every ? months

Please change the post category to bug to get the attention of the Bricks team.

@timmse please take a look at this

2 Likes

No changing the URL.

@GrowPlugins No one is changing the code - there’s no hacking either - I have an activity logger. It looks like it just expires. I’m estimating around 90 days - since last time it happened was right around end of Jan.

Also - this happens WITHOUT any other plugin/theme/WP updates. I update the site manually (no auto-updates) and haven’t done it in a while since it’s lightweight and only update plugins if there are critical updates. Our firewall is good. So this happened probably a month+ after my last manual update.

PS - I thought I was responding to my post Issue - Salts for custom code resetting every ? months :sweat_smile:

2 Likes

See my reply here: NO BUG: Salts for custom code resetting every ? months - #4 by charaf

Are you using AIOS (All-in-One Security and Firewall)?
After having the same issue I dugged deeper into it and on their plugin page they state (and I quote):

So - especially when you have the Salt postfix option activated - this reliably breaks your bricks custom code every week