View Issue Details

IDProjectCategoryView StatusLast Update
0009407Talerexchangepublic2024-12-20 08:01
Reporteroec Assigned To 
PrioritynormalSeveritytextReproducibilityalways
Status confirmedResolutionopen 
Product Versiongit (master) 
Target Versionpost-1.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.

Relationships

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

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-12-19 14:35 oec New Issue
2024-12-19 14:35 oec Status new => assigned
2024-12-19 14:35 oec Assigned To => Christian Grothoff
2024-12-19 14:35 oec Issue generated from: 0009406
2024-12-19 14:36 oec Relationship added related to 0009406
2024-12-20 08:01 Christian Grothoff Assigned To Christian Grothoff =>
2024-12-20 08:01 Christian Grothoff Severity minor => text
2024-12-20 08:01 Christian Grothoff Status assigned => confirmed
2024-12-20 08:01 Christian Grothoff Target Version 1.0 => post-1.0