You have installed GPG, then tried to perform a git commit and suddenly you see this error message after it 😰
error: gpg failed to sign the data
fatal: failed to write commit object
Understand the error (important to solve it later!)
I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:
Set my args as follows:
const run = (async () => {
const args = [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-infobars',| /* | |
| * this code goes in your theme`s functions.php file | |
| */ | |
| add_filter('login_errors',create_function('$a', "return null;")); | |
| define( 'DISALLOW_FILE_EDIT', true ); | |
| function no_wordpress_errors(){ | |
| return 'Nothing to see here, move along!'; | |
| } |
Deploy key is a SSH key set in your repo to grant client read-only (as well as r/w, if you want) access to your repo.
As the name says, its primary function is to be used in the deploy process in replace of username/password, where only read access is needed. Therefore keep the repo safe from the attack, in case the server side is fallen.