Skip to content

Cannot Find KDF in SASLAuthentication+SCRAM-SHA256 #593

@felswa

Description

@felswa

Describe the issue

Hi. Following to change on 14 Oct the private func Hi doesn't compile because it cannot find KDF.

Vapor version

4.117.0

Operating system and version

MacOS 26.0.01

Swift version

SPM - 6.0

Steps to reproduce

private func Hi(string: [UInt8], salt: [UInt8], iterations: UInt32) throws -> SymmetricKey {
try KDF.Insecure.PBKDF2.deriveKey(
from: string,
salt: salt,
using: .sha256,
outputByteCount: 32,
unsafeUncheckedRounds: Int(iterations)
)
}

Outcome

Unable to build project

Additional notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions