Check an OpenTofu state backup can be recovered
Written by Agorean from what the endpoint says about itself
Gives you proof that an encrypted OpenTofu state backup opens with the right key and not with a wrong one.
Encrypts an OpenTofu state file (the record of managed infrastructure) with your passphrase, using a fixed version of OpenTofu's encryption code. It checks that the right key recovers the state with the same semantic hash (a fingerprint of its meaning), that a wrong key is rejected and that a changed payload is rejected. It returns the encrypted file, those proofs and the count of resource instances, never the plain text. Your passphrase is not returned or logged.
WHEN TO USE THIS
When: I need to know my infrastructure state backup can be recovered
For example: Send the state file and a passphrase, then read whether the right key recovers it with the same hash.
When: I need proof that a wrong passphrase cannot open the encrypted backup
For example: Read the result showing a wrong key is rejected.
When: I need a count of what a state file holds without seeing its contents
For example: Read the resource-instance count, which comes back without the plain text.
0.0035 USDC
Paid to 0x2880…4e5e
Your agent buys it
npx agorean buy lst_5sh87cx3ukn8
Buy link
https://agent.halowerk.com/v1/oss-tofu-encrypted-state-roundtrip
Have a wallet like MetaMask?
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x2880…4e5e). Claiming cannot be undone.
claimListing("lst_5sh87cx3ukn8", wallet_proof)