Person life cycle
What happens when a person leaves Almena, when they are a minor, when someone acts on their behalf and when they die. The rule is the same in every case: no new mechanisms, and each entity decides what is its own (P10).
1. Leaving
Section titled “1. Leaving”- There is no central account to delete: what the person has in Almena is their wallet and their relationships.
- The wallet MUST let the person close all their relationships at once. It sends a
closeto each entity, which recordsrelationship.ended(protocols). - Then the wallet deletes the seed, the credentials and the salts of the receipts. Without the salts, the person’s records on the network become anonymous (network, 7.4).
- What each entity must keep by law is its responsibility.
2. Minors
Section titled “2. Minors”- The network does nothing special for minors. A minor MAY have their own wallet if their platform and the law that applies to them allow it.
- Age is proven with a credential, preferably a predicate such as
age_over_NN(registries, 4), so as not to reveal the date of birth (F4). - Whether an entity serves minors, and under what conditions, is decided by the entity.
3. Acting on behalf of someone else (representation)
Section titled “3. Acting on behalf of someone else (representation)”It covers parents or guardians of a minor, legal guardians and attorneys.
- Nobody uses someone else’s keys. The representative acts with their own wallet and their own relationships.
- Representation credential. Whoever has the authority to do so (for example, a notary, a court, a civil registry or the entity itself) issues the representative a credential of type
urn:almena:vct:representation:1(registries, 3). It states:- Who is represented, with the data the issuer considers necessary (for example, name and identity document).
- For what: the scope, in text, and optionally the entities or credential types it covers.
- Until when, if it has an expiry, and its revocation reference, like any credential.
- Use. When an entity’s form asks for it, the representative presents that credential in the normal exchange. The entity decides whether it accepts it and for what.
- The represented person does not need a wallet. If they have one, their relationships are theirs and are not shared with the representative.
- End. The issuer revokes the credential when the representation ends (for example, when the minor comes of age or the power of attorney is withdrawn).
sequenceDiagram
%% kinds: W=wallet A=entity E=entity
actor R as Representative
participant W as Representative's wallet
participant A as Authority (notary, court, registry…)
participant E as Entity
A->>W: issue: representation credential (who, for what, until when)
Note over R,E: Later, before an entity
E->>W: presentation-request (the form asks for representation)
W->>R: Shows what will be shared
R->>W: Approves
W->>E: request with the representation credential
E->>E: Checks it and decides whether it accepts it and for what
E->>W: result (+ receipts)
Note over A,W: When the representation ends, the authority revokes the credential4. Death
Section titled “4. Death”- The network does nothing: heirs do not receive keys or access to the wallet.
- Each entity revokes what corresponds to it when it is notified through the legal channels, and acts according to its law.
- The credentials stay on a locked phone and cannot be presented without the holder’s biometrics or PIN. The records remain anonymous for anyone without the salt.
- If heirs need to act before an entity, they do so as representatives (section 3), with the credential issued by whoever has the authority.
5. Open questions
Section titled “5. Open questions”None for now.