-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emit cert as Java KeyStore #307
Comments
I would prefer not to add language specific encodings to the manifest. If PEM is something your application does not handle well, you can also use Tagging @m1ghtym0 in case he has a different opinion. |
Yeah that would be the ideal design but the client insists to run applications unmodified using gramine. I think a workable path would be to have generic transformer plugins in premain, but unfortunately premain doesn't know which file is the certificate. Another possible solution is to just downstream fork premain and hardcode this specific behavior. but other people using java will have the same issue |
I agree with Daniel that ideally, encodings should be language neutral. |
see edgelesssys#307 not done
see edgelesssys#307 not done
see edgelesssys#307 not done
Java requires using a "keystore" instead of just pem encoded certs. So this adds the ability to emit a keystore file containing secrets. in Files, you can now use the "jks" filter like "Marbles": { "javathing": { "Parameters": { "Files": { "/app/keystore.jks": "{{ jks \"password\" .MarbleRun.MarbleCert.Cert }}", fixes edgelesssys#307
Java requires using a "keystore" instead of just pem encoded certs. So this adds the ability to emit a keystore file containing secrets. in Files, you can now use the "jks" filter like "Marbles": { "javathing": { "Parameters": { "Files": { "/app/keystore.jks": "{{ jks \"password\" .MarbleRun.MarbleCert.Cert }}", fixes edgelesssys#307
Java requires using a "keystore" instead of just pem encoded certs. So this adds the ability to emit a keystore file containing secrets. in Files, you can now use the "jks" filter like "Marbles": { "javathing": { "Parameters": { "Files": { "/app/keystore.jks": "{{ jks \"password\" .MarbleRun.MarbleCert.Cert }}", fixes edgelesssys#307
Use case
java requires using a "keystore" instead of just pem encoded certs.
so we'll have to emit those from premain.
Describe your solution
(https://github.com/pavlo-v-chernykh/keystore-go) could be used to provide the nessesary template func
something like
The text was updated successfully, but these errors were encountered: