Skip to content
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

Use in-memory FS or buffer instead of /tmp WorkDir #6

Open
VojtechVitek opened this issue Nov 23, 2017 · 3 comments
Open

Use in-memory FS or buffer instead of /tmp WorkDir #6

VojtechVitek opened this issue Nov 23, 2017 · 3 comments

Comments

@VojtechVitek
Copy link
Collaborator

VojtechVitek commented Nov 23, 2017

https://github.com/goware/saml/blob/master/files.go#L11

https://github.com/spf13/afero
https://github.com/blang/vfs
or byte buffer
or similar..

@VojtechVitek
Copy link
Collaborator Author

I see, the xmlsec1 actually picks up the certs from the FileSystem..

Hmm.. what can we do to avoid writing into the disk?

@xiam
Copy link
Contributor

xiam commented Nov 23, 2017

Yeah, this is because we need xmlsec1 to read certain things from disk. In order to not write things to disk an user can mount a small RAM filesystem, such as tmpfs.

@VojtechVitek
Copy link
Collaborator Author

@xiam I'm really hoping we could replace xmlsec1 binary with a pure Go package one day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants