# FE'd Up Covenants

**URL:** <https://delvingbitcoin.org/t/fed-up-covenants/929>\
**Category:** Protocol Design\
**Created:** [May 31, 2024, 11:37am UTC](https://delvingbitcoin.org/t/fed-up-covenants/929 "2024-05-31T11:37:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![AdamISZ](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/adamisz/32/418_2.png) [@AdamISZ](https://delvingbitcoin.org/u/AdamISZ)\
**Post date:** [May 31, 2024, 6:49pm UTC](https://delvingbitcoin.org/t/fed-up-covenants/929/4 "2024-05-31T18:49:22Z")

</div>

So have I got this right:

Given C\_F, the “functional encryption” and C\_p, it allows _anyone_ to create a signature for _only the specified transaction for a given tweaked key_.

So the flow is like:

- C\_F and C\_p are created by the owner of (m,M) and (p,P)
- m and p are deleted
- Then anyone could calculate a covenant output destination pubkey as a tweak of P + Hash(tx)
- They would know that the only way it can be signed over is by doing \sigma = C\_F(C\_p, Encrypt(M, TX)). Of course _anyone_ could do that but that’s no different than today, we know how to lock with additional conditions in Script

The point being that this process is repeatable, for any transaction so it doesn’t require statically signing in advance, expecting certain outcomes.

---

_[View the full topic](https://delvingbitcoin.org/t/fed-up-covenants/929)._
