Bitcoin Covenants Part 6: FE Covenants — Enforcing covenants through cryptographically restricted signing keys
Reported by Cointelegraph · AI-assisted summary by ChikoCorp AI News Desk

AI-generated summary based on the linked source; not independently verified. This is not investment advice. Verify market-moving details at the original publisher before acting. See our editorial policy, AI content policy, and financial disclaimer.
Cointelegraph Research said Jeremy Rubin’s May 2024 paper, *FE’d Up Covenants*, proposed using functional encryption to enforce Bitcoin covenant behavior without changing consensus rules. The design would move covenant logic into the signing key, while Bitcoin nodes would still verify signatures with OP_CHECKSIG, avoiding a soft fork.
How the signing key would enforce the covenant
In Rubin’s design, a normal private key could sign any message, but an FE-based covenant would restrict signing to a predefined set of valid transactions. The function f would not sign directly with the original private key k; instead, it would derive a tweaked key pair using a hash of the covenant’s spending policy.
That means signatures would be valid for the tweaked public key, not for the base public key P. If a transaction violated the spending policy, it could at best be signed for a different tweaked public key that does not control the funds, and the function f could also be designed to block the signature entirely.
How the setup would work
The design requires a setup authority. It would generate both a Bitcoin key pair, k and P, and an FE key pair, msk and mpk, then publish P, mpk, k encrypted to mpk, and the functional key for f derived from msk. The setup authority would need to destroy k and msk; otherwise, it could sign spends that break the covenant.
Once that setup is complete, an indefinite number of new covenants could be created. Each covenant would have its own dedicated key pair derived by tweaking k and P with the spending policy, and receiving addresses could be generated from the public key alone if the policy hash is known.
The transaction flow under FE
To create an FE signature, the signer would take a transaction tx that matches the spending policy and encrypt it to mpk. Using the encrypted tx together with the encrypted k and the published functional key, they would evaluate f.
In practice, the receiving address would commit to a 2-of-2 script requiring both a user-controlled signature and the FE signature. That is meant to stop unauthorized parties from triggering a transaction that the covenant permits.
Why the idea remains impractical
The technical obstacles are substantial. The paper says the cryptographic primitive required is at least as hard to build as indistinguishability obfuscation, and implementations remain at toy scale.
The text cites a 2017 result where obfuscating a 12-bit pseudorandom function took 3.7 hours, used 120 GB of disk space and 128 GB of RAM, and was described as “still far from practical.” It also says practical FE schemes today cover only narrow function classes, while the ECDSA signing needed for Bitcoin covenants is not among them.