feat: add signed image repository sync
This commit is contained in:
1 parent
a953ab4154
commit
234ec919bc
9 files changed
+193
-37
No files matched your search
@@ -38,9 +38,7 @@ class ServConfig
|
||||
|
||||
public static function getImagePullURI(): string
|
||||
{
|
||||
$now = time();
|
||||
$req_hash = Util::hashPassword(sprintf("%016x", $now), static::$imageRequestKey);
|
||||
return static::$imageRequestPath . "?req={$req_hash}&time={$now}";
|
||||
return static::$imageRequestPath;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user