Ask HN: Is a file with both public and secret content a secret or not?
1–9 of 9 posts
Re: Ask HN: Is a file with both public and secret content a secret or not?
#2Re: Ask HN: Is a file with both public and secret content a secret or not?
#3https://en.wikipedia.org/wiki/Steganography
Re: Ask HN: Is a file with both public and secret content a secret or not?
#4Re: Ask HN: Is a file with both public and secret content a secret or not?
#5If storing the secrets securely doesn't cause the public settings to be inaccessible where/when they're needed, then you have nothing else to do.
Separate the secret and non-secret data. Don't even use files, just let each item be its own individual value with its own key and permissions.
Also, it doesn't sound like anyone debating this is experienced enough to be making security decisions, even very basic ones.
Re: Ask HN: Is a file with both public and secret content a secret or not?
#6Re: Ask HN: Is a file with both public and secret content a secret or not?
#7If any of it is secret then the whole thing is secret, isn’t it? The only way around that is to break it into multiple parts.
Re: Ask HN: Is a file with both public and secret content a secret or not?
#8The secrets are secret. Store them securely. If storing the secrets securely doesn't cause the public settings to be inaccessible where/when they're needed, then you have nothing else to do. Separate the secret and non-secret data. Don't even use files, just let each item be its own individual value with its own key and permissions. Also, it doesn't sound like anyone debating this is experienced enough to be making s…
Re: Ask HN: Is a file with both public and secret content a secret or not?
#9The secrets are secret. Store them securely. If storing the secrets securely doesn't cause the public settings to be inaccessible where/when they're needed, then you have nothing else to do. Separate the secret and non-secret data. Don't even use files, just let each item be its own individual value with its own key and permissions. Also, it doesn't sound like anyone debating this is experienced enough to be making s…
we aren't here discussing about whether the used pattern is correct or not, it's clearly not. But that's not the scope of the question.
It's like saying, "If I put military secrets and my grocery list in a locked briefcase, is the briefcase a secret?"
First: yes, of course it is. Second: the secrets are not inherently tied together forever. You can separate them.