Skip to content

Instantly share code, notes, and snippets.

View jaonoctus's full-sized avatar

João Dias jaonoctus

View GitHub Profile
@jaonoctus
jaonoctus / Git_Commit_Freeze_Solution.md
Created April 14, 2026 13:31 — forked from bahadiraraz/Git_Commit_Freeze_Solution.md
Git Commit Freeze Due to GPG Lock Issues (Solution)

Git Commit Freeze Due to GPG Lock Issues

If you encounter a problem where you cannot commit changes in Git – neither through the terminal nor via the GitHub Desktop application – the issue might be a freeze during the Git commit process. This is often caused by GPG lock issues. Below is a concise and step-by-step guide to resolve this problem.

Solution Steps

1. Check for GPG Lock Messages

Open your terminal and try to perform a GPG operation (like signing a test message). If you see repeated messages like gpg: waiting for lock (held by [process_id]) ..., it indicates a lock issue.

Linux Mint - LUKS encryption

You should create encryption on an empty Disk.

You can convert the existing unencrypted system to encrypted, but this is not trivial. (You should use live system to copy all of your old data to the new encrypted partitions...) Example:

Collect together concerns (alphabetical order by name) made public about premature BIP 119 activation speculation in https://github.com/JeremyRubin/rubin.io/pull/2
Adam Back: <https://twitter.com/adam3us/status/1477958056776540164?s=20>
AJ Towns: <https://twitter.com/ajtowns/status/1478053356337655808?s=20>
alpacasw: <https://twitter.com/alpacasw/status/1517131243611201537?s=20&t=Jpz4sQywu9dd31sfE32LxQ>
andhans_jail: <https://github.com/JeremyRubin/utxos.org/issues/44>
#include <stdio.h>
/**
* [RESUMO] Escopo das variaveis: Global
*
* As variaveis declaradas "fora" das funcoes, ou seja, em escopo global,
* estao acessiveis em qualquer parte do codigo.
*/
int n = 1,