Better HN
topnewbestaskshowjobs
Log inSign up

java-man

1,596 karma · joined Feb 17, 2014 (12y ago) · 1,672 submissions

1314F8B8382A325318F60A61644FF24E
Submissions

comment 4y ago · link · parent

live stream

https://www.youtube.com/watch?v=fYUT36YGOh8

comment 4y ago · link · parent

Finally.

Now investigate the sources of income of all their relatives, and whether they used fraudulent information to obtain citizenship or residence permits.

comment 4y ago · link · parent

No, start detaining the "elite"'s relatives and seize their property. Investigate their souce of income, and legality of their new citizenships or residence status.

comment 4y ago · link · parent

Who would have thunk that people cancelling their accounts en masse could have an impact?

May be the real reason for N refusal is inability to collect subscription fees in Russia?

comment 4y ago · link · parent

I would add

5. investigate sources of income of all Putin's relatives and relatives of other people under the sanctions. investigate how they obtained citizenships of the European countries, and if the said citizenship was acquired with false statements, rescind the citizenship and deport them immediately.

comment 4y ago · link · parent

... on titanium foil.

comment 4y ago · link · parent

Investigate!

comment 4y ago · link · parent

Thank you, Poland!

comment 4y ago · link · parent

or in 2014

comment 4y ago · link · parent

or earlier. 2014 would have been better.

comment 4y ago · link · parent

The last paragraph of the story:

  (This story corrects headline, and story throughout, to make clear FINMA told banks to halt new business, not freeze assets, after FINMA corrected the statement on its website.)

comment 4y ago · link · parent

  "He confirmed that Putin is not on the sanctions list."
Why not?

They don't want to freeze his assets, or this will be the next step?

comment 4y ago · link · parent

When mixing colors, gamma value is important, see for example [0]. A naive implementation would produce darker, and generally incorrect colors.

[0] http://blog.johnnovak.net/2016/09/21/what-every-coder-should...

comment 4y ago · link · parent

  "Passware is now offering an add-on module that can defeat Macs with the T2 chip, apparently by bypassing the features designed to prevent multiple guesses."
Color me skeptic, but I can't believe this is not intentional. You had one job, to prevent an attacker from trying multiple times. I do not think the people who designed the chip were amateurs.

comment 4y ago · link · parent

Great tool! Does it account for gamma? Can the user enter a different gamma value?

comment 4y ago · link · parent

Spectacular images!

comment 4y ago · link · parent

The evidence of manipulation is pretty evident: look at the death statistics [0] for the periods around March - June 2021 and June - September 2021. It's flat, a tad under some round number.

It's a shame, really.

[0] https://www.worldometers.info/coronavirus/country/russia/

comment 4y ago · link · parent

You are correct.

DirectByteBuffer only guarantees that the memory will not be moved as a result of garbage collection, for example, when talking with native code.

It does not prevent the OS from paging the whole memory block to disk, or writing it to a file in case of a VM saving its state.

It's just marginally better than using plain primitive arrays, plus there is an extra method to explicitly clear the buffers via ICryptoZeroable, something that I think is missing from stock Bouncycastle.

comment 4y ago · link · parent

I will not turn down a reasonable contract offer ;-)

comment 4y ago · link · parent

All my life, large corporations did nothing but ignore me. I basically gave up at this point.

You are right - something like Pin in rust. It will be a new language feature, there are backward compatibility aspects, and the fact that it will need to be correctly done by all implementations (or it would fail its stated purpose). DirectByteBuffer provides a certain guarantee as it is.

On the other hand, the secrets might still be leaked via paging, so even this solution is a partial one.

comment 4y ago · link · parent

Thank you.

I would rather see maybe an annotation instructing the compiler and the runtime not to move allocated objects:

  @UnmovableMemory
  byte[] bytes = new byte[...];

comment 4y ago · link · parent

It's a replacement for Bouncycastle classes, using DirectByteBuffer wrappers to replace primitive arrays.

One difference is explicit zero() method via ICryptoZeroable interface which clears the buffers.

comment 4y ago · link · parent

A subset of Bouncycastle primitives (Argon2, Blake2b, DigestRandomGenerator, HKDFBytesGenerator, Poly1305, Salsa20Engine, Scrypt, SHA256Digest, XSalsa20Engine) refactored to use DirectByteBuffer instead of primitive arrays, for the purpose of minimizing leaking information through garbage collector.

624.

Show HN: MemSafeCrypto, Java cryptography primitives using DirectByteBuffer(github.com ↗)

49 points · by java-man · 4y ago · 15 comments

comment 4y ago · link · parent

Good news, everybody!

comment 4y ago · link · parent

Peloton employed 2,800 people? Doing what?

comment 4y ago · link · parent

"Bailey was paid £575,538, including pension, in his first year as the Bank's governor from March 2020, more than 18 times the UK average for a full-time employee."
1
202122
56