Closed
Description
Somewhere between Julia 1.11.0-DEV.550 (working) and 1.11.0-DEV.555 (failing), based on when my unit test reports making use of MD5 checksums started failing, something seems to have broken.
I'm not sure how to begin debugging this problem, or whether it would be better to file the issue in the SHA.jl repo or the the main julialang repo. The stack trace does not make much sense to me, and none of the referred to lines seem to have been touched in a long time.
Current "nightly" output (Julia 1.11.0-DEV.590)
julia> md5("test")
ERROR: type MD5_CTX has no field used
Stacktrace:
[1] getproperty
@ Base ./Base.jl:37 [inlined]
[2] update!(context::MD5.MD5_CTX, data::Base.CodeUnits{UInt8, String}, datalen::Int64)
@ SHA /Applications/[Julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/SHA/src/common.jl:20](http://julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/SHA/src/common.jl:20)
[3] update!(context::MD5.MD5_CTX, data::Base.CodeUnits{UInt8, String})
@ SHA /Applications/[Julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/SHA/src/common.jl:20](http://julia-1.11.app/Contents/Resources/julia/share/julia/stdlib/v1.11/SHA/src/common.jl:20)
[4] md5(data::Base.CodeUnits{UInt8, String})
@ MD5 ~/.julia/packages/MD5/H5Cdd/src/MD5.jl:18
[5] md5(str::String)
@ MD5 ~/.julia/packages/MD5/H5Cdd/src/MD5.jl:24
[6] top-level scope
@ REPL[7]:1
Expected output (Julia 1.9.3)
julia> md5("test")
16-element reinterpret(UInt8, ::Vector{UInt32}):
0x09
0x8f
0x6b
0xcd
0x46
0x21
0xd3
0x73
0xca
0xde
0x4e
0x83
0x26
0x27
0xb4
0xf6
Metadata
Assignees
Labels
No labels