cardano-api:internal
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.IO.Compat.Posix

Synopsis

Documentation

checkVrfFilePermissionsImpl :: forall content (direction :: FileDirection). File content direction -> ExceptT VRFPrivateKeyFilePermissionError IO () Source #

Make sure the VRF private key file is readable only by the current process owner the node is running under.

writeSecretsImpl :: FilePath -> [Char] -> [Char] -> (a -> ByteString) -> [a] -> IO () Source #