Skip to content

Commit

Permalink
Increased delay for test, added notes in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Forceu committed Aug 17, 2022
1 parent d4f90a8 commit 58bb713
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/configuration/setup/Setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ func startSetupWebserver() {
}
if statusChannel != nil {
go func() {
time.Sleep(4 * time.Second)
// Normally only one second should be enough, however slow Github action runners require more time
time.Sleep(5 * time.Second)
statusChannel <- true
}()
}
Expand Down
4 changes: 4 additions & 0 deletions internal/configuration/setup/templates/setup.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ function TestAWS(button) {
<li>Does not support download progress bar</li>
<li>Gokapi starts without user input</li>
<li><b>Important:</b> For remote storage, CORS settings for the bucket need to allow access from the Gokapi URL</li>
<li><b>Warning:</b> Download might be significantly slower</li>
<li><b>Warning:</b> Password can be read with access to Gokapi configuration</li>
<li><b>Warning:</b> During upload temporary files containing the plaintext content may be created.</li>
<li><b>Warning:</b> Encryption has not been audited.</li>
Expand All @@ -466,6 +467,7 @@ function TestAWS(button) {
<li>Password cannot be read with access to Gokapi configuration</li>
<li><b>Important:</b> For remote storage, CORS settings for the bucket need to allow access from the Gokapi URL</li>
<li><span style="color:red"><b>Warning:</b></span> Gokapi requires user input to start</li>
<li><b>Warning:</b> Download might be significantly slower</li>
<li><b>Warning:</b> During upload temporary files containing the plaintext content may be created.</li>
<li><b>Warning:</b> Encryption has not been audited.</li>
</ul></p>
Expand All @@ -477,11 +479,13 @@ function TestAWS(button) {
<ul>
<li>All files are encrypted end-to-end</li>
<li>Encryption and decryption is done client-side and requires 2MB file to load on first visit</li>
<li>Does not support deduplication</li>
<li>Does not support hotlinks to files</li>
<li>Does not support download progress bar</li>
<li>Gokapi starts without user input</li>
<li>Files uploaded through the API have to be unencrypted</li>
<li>Password cannot be read with access to Gokapi configuration</li>
<li><b>Warning:</b> Download and upload might be significantly slower</li>
<li><b>Warning:</b> Encryption keys are stored in plain-text on this machine</li>
<li><b>Warning:</b> Encryption has not been audited.</li>
</ul></p>
Expand Down

0 comments on commit 58bb713

Please sign in to comment.