I see some changes merged to the main branch of Daml, but I don’t see the 3.4.0-snapshot.20250820.0 contains the changes - should I use an additional compilation flag? I see on the main branch it’s hidden behind the feature DAML_CRYPTO_ADDITIONS, so should we enable it in another way or just to wait for a newer snapshot?
Should it be enabled in any special way?
```shell ./CryptoExample.daml:12:17: error: Variable not in scope: secp256k1signWithEcdsaOnly : Text → Text → Script b0 File: ./CryptoExample.daml Hidden: no Range: 16:8-16:30 Source: typecheck Severity: DsError Message: ./CryptoExample.daml:16:8: error: Variable not in scope: secp256k1WithEcdsaOnly : Text → Text → Text → Bool
```
The ECDSA signature algorithms as defined in ANSI X9.62.
Note: "ECDSA" is an ambiguous name for the "SHA1withECDSA" algorithm and should not be used. The formal name "SHA1withECDSA" should be used instead.
So there probably should be NoneWithECDSA used instead of ECDSA as an algorithm passed to new MessageSignaturePrototypeUtil(“ECDSA”) for pure secp256k1 without hashing.
Hi @Lukasz2891, thanks again for your help on this.
A patch for this is now in place and I’ve validated my changes against your original code snippet. The next snapshot release should allow you to validate this on your side.