MCPcopy Create free account
hub / github.com/error311/FileRise / masterKeyIsConfigured

Method masterKeyIsConfigured

src/FileRise/Support/CryptoAtRest.php:46–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 }
45
46 public static function masterKeyIsConfigured(): bool
47 {
48 try {
49 return (self::getMasterKeyOrNull() !== null);
50 } catch (\Throwable $e) {
51 return false;
52 }
53 }
54
55 private static function parseKeyString(string $raw): ?string
56 {

Callers 6

capabilitiesMethod · 0.80
encryptionPlanMethod · 0.80
encryptionJobStartMethod · 0.80
getConfigMethod · 0.80
handleUploadMethod · 0.80

Calls 1

getMasterKeyOrNullMethod · 0.95

Tested by

no test coverage detected