miekg / dns

DNS library in Go
https://miek.nl/2014/august/16/go-dns-package
BSD 3-Clause "New" or "Revised" License
7.86k stars 1.12k forks source link

digest type 3 (GOST94) #1537

Closed nirajsorathiya101 closed 4 months ago

nirajsorathiya101 commented 4 months ago

Hello,

Is GOST94 digest algorithm whose digest type value is 3 not supported by function ToDS ? I was trying to convert DNSKEY into DS using digest type 3 but I could not. Digest type 3 case is not handled in the switch code block.

I am using v1.1.55 but the latest version also doesn't handle the case for digest type 3 : https://github.com/miekg/dns/blob/v1.1.58/dnssec.go

Please correct me if I missed something here. Also, I would appreciate if someone have any suggestions to solve this problem.

Thanks !

Best , Niraj

miekg commented 4 months ago

GOST is not in the GO std lib and thus is not supported.

[ Quoting @.***> in "[miekg/dns] digest type 3 (GOST94) ..." ]

Hello,

Is GOST94 digest algorithm whose digest type value is 3 not supported by function ToDS ? I was trying to convert DNSKEY into DS using digest type 3 but I could not. Digest type 3 case is not handled in the switch code block.

I am using v1.1.55 but the latest version also doesn't handle the case for digest type 3 : https://github.com/miekg/dns/blob/v1.1.58/dnssec.go

Please correct me if I missed something here. Also, I would appreciate if someone have any suggestions to solve this problem.

Thanks !

Best , Niraj

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.*Message ID: @.***>

/Miek

-- Miek Gieben

nirajsorathiya101 commented 4 months ago

Thanks a lot for the information.

Best regards, Niraj

On Thu, 15 Feb, 2024, 13:51 Miek Gieben, @.***> wrote:

Closed #1537 https://github.com/miekg/dns/issues/1537 as completed.

— Reply to this email directly, view it on GitHub https://github.com/miekg/dns/issues/1537#event-11815044511, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALOF6LFTYDPVNZQTLCO352TYTYAFPAVCNFSM6AAAAABDIJAALSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHAYTKMBUGQ2TCMI . You are receiving this because you authored the thread.Message ID: @.***>