feature/embedded-server-config #1
Loading…
Reference in a new issue
No description provided.
Delete branch "krageon/zer.ooo-web:feature/embedded-server-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
You can now create a server config with all information embedded. If you have a local private key, the form will ask for you to input the file in a file box. You can elect to decrypt it as well. The decryption of private keys happens clientside.
If you entered the private key file in the file box, the private key does not get sent to the server - the reference is used to read the file and manipulate the server output until a valid server config exists.
@ -0,0 +33,4 @@
});
function handleZipResult(data) {
//var blob = new Blob(data, {type: 'application/zip'});
commented code
fixed
@ -0,0 +71,4 @@
var keyEndOffset = match.index;
var keyContent = text.substring(keyStartOffset, keyEndOffset);
No, I'll pass
@ -0,0 +28,4 @@
{{ cert }}</cert>
<key>
{{ key }}</key>
please to end on next line
Keys have a return after them. This way it looks exactly as the end user expects when the template is filled. This is to my mind the superior option.
I would rather have you use the following in that case
Good point, it's fixed
@ -25,1 +37,4 @@
</form>
<!-- TODO: Check data attribute to see if the cert is present -->
<!-- If cert is not on server, also ask for this -->
🤔🤔🤔🤔🤔
Fixed