<TimMc>
(I had a moment of consternation before I realized that I had not yet allowed scripts from my new domain...)
ocdtr_web has joined #sandstorm
<kentonv>
TimMc, are you using nginx only for SSL termination, or other stuff too?
<TimMc>
Just SSL termination.
<ocdtr_web>
I assume there is a security benefit of some sort (if only eliminating a middle-man) of going straight to googlesource, but dang if https://github.com/google/boringssl isn't a lot easier to browse/search. :P
<kentonv>
Sandstorm can actually handle that directly now, even for non-sandcats domains
<kentonv>
TimMc you can give Sandstorm your key/cert by doing this at the JS console while logged in as admin: Meteor.call("setTlsKeys", { key: "<private-key-pem>", certChain: "<certificate-pem>" })
<kentonv>
then set HTTPS_PORT=443 and EXPERIMENTAL_GATEWAY=true in sandstorm.conf
<TimMc>
No way!
taktoa has joined #sandstorm
<TimMc>
That still doesn't get me the ability to recognize and handle both timmc.sandcats.io and sandy.parsni.ps though, does it?
<TimMc>
(redirecting the former to the latter)
<kentonv>
for some extra security, you can give it a password-protected private key, and set the password using PRIVATE_KEY_PASSWORD= in sandstorm.conf (this way, a Mongo DB leak doesn't leak your TLS keys)
<ocdtr_web>
TimMc: That counts as "other stuff too", see above. ;)
<kentonv>
TimMc, sorry, no, it can only handle one certificate
<TimMc>
OK, cool. It's only the migration period where that's useful anyhow.
<kentonv>
which is only a few days, but yeah
<isd>
kentonv: I'm staring at web-session.capnp, and am confused by the options method; the return value seems to be all webdav related stuff, but I'd otherwise expected it to correspond to the HTTP OPTIONS verb, which isn't webdav related at all. Have I misunderstood something?
<kentonv>
isd, it was added mainly for the needs of supporting WebDAV
<kentonv>
for sandstorm UI sessions, OPTIONS is basically irrelevant. For API sessions, the correct OPTIONS results are basically the same across all apps.
<isd>
What will it do if an app doesn't implement it?
<kentonv>
return a suitable default
<isd>
(I'm poking at trying to wrap web-session so I can get it to talk to standard Go http.Handlers again...)
<isd>
Ok. I'll probably just skip it until I deal with the webdav stuff then.
<kentonv>
basically if you aren't implementing a DAV app, you don't need to implement options
<kentonv>
since OPTIONS is really all about access control and that's Sandstorm's territory.
<ocdtrekkie>
I love UWP apps. They give me that warm Sandstormy feeling when I'm on Windows.
<ocdtrekkie>
Someone finally made a Discord app that works with UWP. Which is great, because the default behavior of Discord's official app is creepy as all getout.
<ocdtrekkie>
(Specifically, by default, Discord looks at what games you have running and reports it below your username.)
<digitalcircuit>
ocdtrekkie: Is that feeling similar to the Flatpak/Snap (non-classic) sandboxing story on Linux?
<ocdtrekkie>
digitalcircuit: Fairly likely. Linux repos in general feel cleaner with adding and removing software, mind you.
<ocdtrekkie>
But yeah, UWP apps have to declare permissions they want access to, and you can individually shut any and all of them off by app.
<ocdtrekkie>
A lot of functionality like sniffing what you're doing in other apps is just completely not possible with a UWP app.
<ocdtrekkie>
Like, to give you an idea of Discord's default creep factor, it has a "feature" to pull credentials for services it can connect to from other apps installed on your PC.
harish has joined #sandstorm
<kentonv>
I just discovered a directory with 240886 mongo log files in it
<kentonv>
`bash: /bin/rm: Argument list too long` is not an error I've ever seen before
<kentonv>
(that was for `rm mongo.log.*`)
<ocdtrekkie>
lol
<kentonv>
I had to do: ls | grep '^mongo.log.' | xargs rm
<ocdtrekkie>
First time I wrote a cron script or two for my server I didn't know it was gonna save a file every time it ran with the output.
<kentonv>
little known xargs feature: if the argument list is too long, it will break it up into multiple invocations
<ocdtrekkie>
...Fun to clean that up when I noticed it.
<kentonv>
wow, apparently deleting the mongo logs was all I had to do to fix the CPU-pegging issue.
<digitalcircuit>
"xargs --show-limits" is rather neat, too.
<kentonv>
maximum argument length: 2094666
<kentonv>
holy crap
<kentonv>
that's a lot of arguments
isd has quit [Ping timeout: 248 seconds]
<kentonv>
the stripe-based payments code used by Oasis is now in the Sandstorm repo. Just needs a config UI and then people could sell hosting on their own private servers...
<ocdtrekkie>
You're gonna have to start doing UI again soon. :P For SSL config too.
pie__ has joined #sandstorm
pie_ has quit [Ping timeout: 264 seconds]
pie__ is now known as pie_
pie_ has quit [Remote host closed the connection]
pie_ has joined #sandstorm
isd has joined #sandstorm
pie_ has quit [Read error: Connection reset by peer]
pie__ has joined #sandstorm
ogres has quit [Quit: Connection closed for inactivity]
isd has quit [Read error: Connection reset by peer]
pie__ has quit [Ping timeout: 248 seconds]
harish has quit [Ping timeout: 276 seconds]
pie_ has joined #sandstorm
harish has joined #sandstorm
pie_ has quit [Ping timeout: 276 seconds]
pie_ has joined #sandstorm
harish has quit [Ping timeout: 240 seconds]
pie_ has quit [Quit: Leaving]
harish has joined #sandstorm
harish has quit [Ping timeout: 255 seconds]
xet7 has quit [Ping timeout: 260 seconds]
xet7 has joined #sandstorm
harish has joined #sandstorm
ogres has joined #sandstorm
pie_ has joined #sandstorm
pie_ has quit [Ping timeout: 240 seconds]
pie_ has joined #sandstorm
rolig has quit [Ping timeout: 255 seconds]
jemc has joined #sandstorm
samba_ has joined #sandstorm
rolig has joined #sandstorm
samba_ has quit [Ping timeout: 260 seconds]
guido has quit [Ping timeout: 268 seconds]
ogres has quit [Quit: Connection closed for inactivity]
guido has joined #sandstorm
samba_ has joined #sandstorm
ogres has joined #sandstorm
Telesight has joined #sandstorm
* ccx^xmpp
screeks at the ls|xargs
<ccx^xmpp>
find -name 'mongo.log.*' -delete
<ccx^xmpp>
find has this "fill argument list" feature too btw: -exec mycommand '{}' +
isd has joined #sandstorm
isd has quit [Ping timeout: 240 seconds]
moko|too is now known as mokomull
pie_ has quit [Ping timeout: 256 seconds]
isd has joined #sandstorm
taktoa has quit [Remote host closed the connection]
digitalcircuit has quit [Remote host closed the connection]
digitalcircuit has joined #sandstorm
<georgeowell>
kentonv: awesome!
<georgeowell>
did anyone hear how the letencrypt wildcard stuff was developing?
jemc has quit [Ping timeout: 256 seconds]
jemc has joined #sandstorm
<sknebel>
in testing, but not going live end of february, maybe mid-march