View Issue Details

IDProjectCategoryView StatusLast Update
0009407Talerspecificationpublic2026-02-09 09:44
Reporteroec Assigned Tomikolai Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeveritytextReproducibilityalways
Status implementingResolutionopen 
Product Versiongit (master) 
Target Versionpost-2.0 
Summary0009407: definition for various hash codes are lacking details
DescriptionThe header file `include/taler_crypto_lib.h` declares various types that represent hash values, f.e.:

```
/**
 * Hash used to represent a commitment to a blinded
 * coin, i.e. the hash of the envelope.
 */
struct TALER_BlindedCoinHashP
{
  /**
   * Actual hash value.
   */
  struct GNUNET_HashCode hash;
};


/**
 * Hash used to represent the hash of the public
 * key of a coin (without blinding).
 */
struct TALER_CoinPubHashP
{
  /**
   * Actual hash value.
   */
  struct GNUNET_HashCode hash;
};

```

These and others lack information _how_ to compute those hashes, which is quite relevant for their validity.
F.e. according to the implementation, the value for `TALER_BlindedCoinHash` is constructed involving the hash of the denomination's public key and the a computed blinded hash value of the coin's planchet.

We should be explicit about what data is required and how exactly that data is used to compute all those hash values in the declaration.
 
Additional InformationThis is related to issue 9406, about the documentation
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0009406 implementingmikolai documentation for various hash codes are lacking details 

Activities

There are no notes attached to this issue.

Issue History

Date ModifiedUsernameFieldChange
2024-12-19 13:35oecNew Issue
2024-12-19 13:35oecStatusnew => assigned
2024-12-19 13:35oecAssigned To => Christian Grothoff
2024-12-19 13:35oecIssue generated from: 0009406
2024-12-19 13:36oecRelationship addedrelated to 0009406
2024-12-20 07:01Christian GrothoffAssigned ToChristian Grothoff =>
2024-12-20 07:01Christian GrothoffSeverityminor => text
2024-12-20 07:01Christian GrothoffStatusassigned => implementing
2024-12-20 07:01Christian GrothoffTarget Version1.0 => post-1.0
2026-01-25 16:32Christian GrothoffTarget Versionpost-1.0 => post-2.0
2026-01-26 06:26Christian GrothoffCategoryexchange => specification
2026-02-09 09:44Christian GrothoffAssigned To => mikolai
2026-02-09 09:44Christian GrothoffStatusimplementing => assigned
2026-11-03 07:21Statusassigned => implementing