700 karma · joined Sep 28, 2015 (11y ago) · 204 submissions
The BUSL-1.1 is not OSS.
My views are my own, not that of any past, present, or future employer.
https://cipherboy.com
https://github.com/cipherboy
alexander.m.scheel@gmail.com
comment 6y ago · link · parent
What you've described also applies to Fedora. Fedora is community run and non-commercial. The results of the latest FESCO vote shows that. It is very much a volunteer-run distribution.
Yes, many Red Hatters have a personal interest in Fedora, and many others have professional interests. But nobody (from the Fedora community leadership) is going around selling it... :-)
> It's a bit unsettling that people in the open source community need to work on this particular thing, but it's unfair to blame them for that.
I think OP's point, coming from Fedora, is that the package maintainer (of say, apache-httpd) would need to ship unit files for all init systems and support them. The latter is a large task when you never use said alternative init system, especially if a drive-by contributor gave you the initial script. (And yes, you're free to ask for help, post on mailing lists, &c. but fundamentally it'd still come down to you, as the maintainer, to fix it).
At any rate, that's likely how Fedora would behave.
Source: Red Hatter and Fedora contributor.
comment 7y ago · link · parent
comment 7y ago · link · parent
[0]: https://github.com/nss-dev/nss [1]: https://github.com/videolan/vlc
comment 7y ago · link · parent
But the answer is because GitHub doesn't distinguish what is and isn't a mirror (last I checked there was no mirror functionality like GitLab or Gitea). Plus, I don't think they let you disable PRs.
comment 7y ago · link · parent
Each word needs to be valid both forwards and backwards in a Sator, right? There's a number of 5x5 Sators, but no 6x6, 7x7s, or higher because the number of words which satisfy are much smaller.
There is probably a better SAT encoding but if you just want to play around: https://github.com/cipherboy/sat/blob/master/sator-square/sq...
It finds Sators and 6x6 and smaller word squares reasonably quickly, but larger takes a bit more work. :)
It does depend on your wordlist though (place words.txt in the directory with square.py).
cmsh from here: https://github.com/cipherboy/cmsh
comment 7y ago · link · parent
The process would be a little more complicated than simply choosing 4 points, but yes you could do something close enough to this in theory.
In actual practice there's really only two sets of curves most people [0] implement, and just about everyone agrees to use:
- The NIST p curves
- Curve25519/Curve448 by Bernstein &c.
Which you use tends to fall on what side of the crypto divide you fall on:
- NIST p curves if you care about governmental compliance such as FIPS
- Bernstein &c's curves if you care about security and distrust NIST created curves.
I personally fall on the latter side but spend most of my time doing software for the former. :) A promised later revision to FIPS will standardize Bernstein &c's curves.
Almost nobody implements negotiating arbitrary curves. That's really unsafe.
So, as 'tptacek would say... just use Curve25519.
[0]: I'm talking about major software such as TLS, VPNs, SSH, Kerberos... etc.
comment 7y ago · link · parent
I'd just point out that accepting any customer's policy as something you implicitly agree to support is inherently risky without an adequate contract between the relevant parties. Presumably, you've signed a contract with the customer, and if they have a no-CVE policy, there's SLAs that you can point to that say what is and isn't covered, and by what date. So it is just the price of doing business and both parties know that this'll impact the delivery of other features, bug fixes, &c. Otherwise, your business-people aren't doing a great job of covering the costs of doing business with said customer... :)
Without much better developer tooling, we'll always be trying to catch up with the people who find vulnerabilities. People aren't perfect. Tools aren't perfect either. But they can complement each other nicely and currently most projects err on the side of "too little" rather than "too much" tooling.
comment 7y ago · link · parent
Additionally, 2.10 deprecates the unsafe behavior and introduces a new, safer alternative. See the blog post for more information there. [1] That might be a valid reason to spend time upgrading.
Obviously, if you're actually affected, then yes, upgrading or backporting patches is a good idea.
[0]: https://news.ycombinator.com/item?id=21171746
[1]: https://medium.com/@cowtowncoder/on-jackson-cves-dont-panic-...
comment 7y ago · link · parent
The other jackson packages are mostly Java package hierarchy that don't affect this CVE (jackson-core, jackson-bom, jackson-parent, and jackson-annotations -- but we've also updated all of these to 2.10 on F30+).
So:
rpm -qa | grep jackson-databind
To the GGP:As noted by other commenters just having the package isn't sufficient. You need a number of other libraries (most of which aren't shipped with Fedora, none of which are shipped on RHEL) on the classpath of the running JVM.
If you're not running any Java code, you're definitely not affected. If you're using any code distributed through the official channels, it is very unlikely that you're affected. You'll probably only be affected if you're using third-party projects. Which as always, are run at your own risk. :)
[0]: Source: co-maintainer of the package via the Fedora Stewardship SIG.
F30 Bodhi: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b1715548... F31 Bodhi: https://bodhi.fedoraproject.org/updates/FEDORA-2019-cf87377f...
comment 7y ago · link · parent
If you're working on something commercial, you might check out http://integricloud.com/ -- looks like they start at start at $250/mo for a dedicated system (with 16-cores). If you check out their billing rates, it sounds like you can get a single core/thread though for about ~10-20 a month: http://integricloud.com/content/base/managevms.html?viewrate...
(I've never used integricloud but someone commented on my comment mentioning OSUOSL from a week ago)
comment 7y ago · link · parent
IBM has poured a ton of money into having roughly the same ecosystem for POWER as x86: nearly every major Linux distribution ships ppc64le ports [0] (most at full parity to their x86 server release--including testing and building on the platform itself), there's several places to get access to it (even for free as I mentioned on a previous thread [1,2]), and several FPGAs, GPUs, and other accelerator cards work with it [3,4].
Going past x86 (and competing with RISC-V and others), there's a freely available softcore (as I mentioned elsewhere) [5]. And since IBM open sourced the latest ISA with a full, modern instruction set (AES, SHA, Vectors...) -- the community around a softore could eventually go and implement it [6]. And as Talos has shown, even most of the microcode is open source or at least publicly verifiable.
Once the community forms around it, what do you have? [7]
A starting point for all sorts of new projects. Someone else has done nearly all of the work to build something amazingly complex (from hardware gates to a working NodeJS/Go/$LANG stack): all you need to do is tailor this to what you need.
Want to optimize to your specific workload? Grab the softcore, pull out the portions you don't need, deploy/test on a FPGA, and run Linux over the top with a full suite of debugging tools already available.
Want to experiment with new instructions not currently available? Grab a softcore, implement your new instructions, add compiler support or assembly support, and iterate.
Want a low-power core for an IOT device? You could license ARM or you could build on a free POWER softcore.
Want tons of scalar cores for a massively parallel problem? Write it in C, compile to ppc64le, and deploy on many instances of the same softcore running on a FPGA.
None of this is possible with x86 or RISC-V today. If it is, the overhead, time, expertise, and cost makes it exclusive to only large companies and research institutions. IBM has done most of the work to commoditize this. Costs to fab will remain high but deploying on a FPGA would at least tell you if your approach is viable and something you could consider.
Yeah, Intel or AMD could eventually open source this much too. But they'd have to start having conversations with their lawyers... And then with all their partners... And then eventually they'd get to where POWER is today... :)
[0]: https://news.ycombinator.com/item?id=20752226
[1]: https://news.ycombinator.com/item?id=20749369
[2]: https://news.ycombinator.com/item?id=20751639
[3]: https://www.nextplatform.com/2017/12/15/nvlink-shines-power9...
[4]: https://www.servethehome.com/supermicro-p9dsu-c-based-ibm-po...
[5]: https://news.ycombinator.com/item?id=20826081
[6]: Yeah, there's admittedly a lot of work to go from "scalar softcore" to "100% ISA implementation". But if IBM does things correctly and tries to build a community, especially of academic researchers, around the softcore... It could go somewhere.
[7]: Ok, I guess this is an if... :)
comment 7y ago · link · parent
You can't fab the same POWER9 that ships from IBM, but like you implied, someone could (eventually) fab a POWER9 CPU built on an open-source core.
The microwatt project [0] was demoed at the OpenPOWER Summit and is an open-source softcore. I'm very interested in watching to see what happens with this project and how much of the ISA they end up implementing. They've run a subset of micropython [1] on it and apparently gotten a few FPGAs working. The Summit talk [2] mentioned DRAM support and Linux support potentially being on the roadmap.
[0]: https://github.com/antonblanchard/microwatt
comment 7y ago · link · parent
Even Gentoo has one [4][5]!
[0]: https://alt.fedoraproject.org/alt/
[1]: https://access.redhat.com/documentation/en-us/red_hat_enterp...
[2]: https://ubuntu.com/download/server/power
[3]: https://www.suse.com/products/power/
comment 7y ago · link · parent
There's also a cool vector library [1] that bridges the gap between different versions of the ISA and different compiler versions.
[0]: https://osuosl.org/services/powerdev/ [1]: https://github.com/open-power-sdk/pveclib
200.
Show HN: High-Level Python Interface over Mate Soos's CryptoMiniSat(github.com ↗)
4 points · by cipherboy · 7y ago · 1 comment
comment 7y ago · link · parent
[0]: https://blog.jgc.org/2015/05/the-effectiveness-of-turings-vi... [1]: https://hn.algolia.com/?query=The%20effectiveness%20of%20Tur... [2]: https://github.com/cipherboy/vCAT
comment 7y ago · link · parent
The threat model is this: the Mallory controls some number of bytes in a web page. Can she exfiltrate data about Alice's session (e.g., bank account number) by only knowing the size of the compressed payload and modifying her portion of the content?
For this purpose, TLS is a fixed-sized modification:
|TLS(m)| = |m| + k
for a constant k. So it doesn't meaningfully impact this attack: you can do it with just compression and no encryption.
Compression is useful when the cost of sending bytes exceeds the cost to decompress. If you start padding compression back to the original payload length, you no benefit to compressing in the first place. If instead you introduce a random amount of padding, this adds overhead both to decompression and in transfer, at a marginal benefit to security (the attacker needs more requests -- either to recover a larger portion of the secret's context, or to control for the random noise).
This is also a cryptopals exercise:
comment 8y ago · link · parent
Kerberos has a draft for adding SPAKE to Kerberos: https://tools.ietf.org/html/draft-ietf-kitten-krb-spake-prea...
This was implemented sometime around March in MIT Kerberos: https://github.com/krb5/krb5/pull/741
One of the interesting use cases would be to add 2FA support to the Kerberos protocol, but that support is still pending last I checked.
A second draft that is useful for SPAKE would be improved Channel Binding (CBs) support: https://tools.ietf.org/html/draft-ietf-kitten-channel-bound-...
CBs are still WIP upstream: https://github.com/krb5/krb5/pull/685
Channel bindings allow Kerberos to piggy back on top of an existing encrypted channel (e.g., TLS). When doing 2FA with SPAKE in a browser, this means that we can take advantage of the security guarantees of the TLS protocol by ensuring the value of the final handshake is the same. This is most helpful for SSO-type scenarios.
If anyone wants to comment on either RFC, I'm sure the Kitten WG would be happy to take feedback: https://tools.ietf.org/wg/kitten/
Disclosure: I work closely with several of these folks and worked on the CBs PR.