You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I may misunderstand something here, but when I build my the project the following code fails: try CryptorRSA.createPrivateKey(withPEMNamed: "private.pem", onPath: "/Resources/")
trying to find the key file at that path: <path_to_xcode_project_derived_data>/SourcePackages/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSAKey.swift/Resources/private_key.pem
Code causing the problem in createPrivateKey function: let fullPath = URL(fileURLWithPath: #file).appendingPathComponent( path.appending(certName) ).standardized
Is appending path to CryptorRSAKey.swift file is supposed to be working?
Workaround is to get the content of a .pem file yourself: try CryptorRSA.createPrivateKey(withPEM: privateKey())
The same problem with any createXXXXX (pemName/derName, onPath) function.
The text was updated successfully, but these errors were encountered:
I may misunderstand something here, but when I build my the project the following code fails:
try CryptorRSA.createPrivateKey(withPEMNamed: "private.pem", onPath: "/Resources/")
trying to find the key file at that path:
<path_to_xcode_project_derived_data>/SourcePackages/checkouts/BlueRSA/Sources/CryptorRSA/CryptorRSAKey.swift/Resources/private_key.pem
Code causing the problem in
createPrivateKey
function:let fullPath = URL(fileURLWithPath: #file).appendingPathComponent( path.appending(certName) ).standardized
Is appending path to CryptorRSAKey.swift file is supposed to be working?
Workaround is to get the content of a .pem file yourself:
try CryptorRSA.createPrivateKey(withPEM: privateKey())
The same problem with any
createXXXXX (pemName/derName, onPath)
function.The text was updated successfully, but these errors were encountered: