lade...
random avatar

gimre - Network

Posts Subscribe

P.S. In case of symbol, I'd rather recommend generating fresh x25519 key pair (i.e. using rage-keygen) and associating x25519 public key...

https://mas.to/@gimre/1109497543...

P.S. In case of symbol, I'd rather recommend generating fresh x25519 key pair (i.e. using rage-keygen) and associating x25519 public key with an account using some metadata key (i.e. 0x3931353532656761)

25.8.2023 10:21P.S. In case of symbol, I'd rather recommend generating fresh x25519 key pair (i.e. using rage-keygen) and associating x25519 public key...
https://mas.to/@gimre/1109497543...

Last but not least, If you're curious: in ed25519, the 'raw' key material is first passed through sha512, and first 32 bytesare...

https://mas.to/@gimre/1109452719...

Last but not least, If you're curious: in ed25519, the 'raw' key material is first passed through sha512, and first 32 bytes
are used as actual scalar, in x25519 there's no such step.

Finally, if you want to experiment on your own, I've made a small page, that does everything within a browser 🥳.

gimre-xymcity.github.io/bech32

24.8.2023 15:21Last but not least, If you're curious: in ed25519, the 'raw' key material is first passed through sha512, and first 32 bytesare...
https://mas.to/@gimre/1109452719...

Bonus, identity key can be encrypted with a password:rage --encrypt --password --output identity.x25519.age identity.x25519And there will be...

https://mas.to/@gimre/1109452696...

Bonus, identity key can be encrypted with a password:
rage --encrypt --password --output identity.x25519.age identity.x25519

And there will be password prompt, when decrypting the file using ENCRYPTED private key:
rage --decrypt --identity identity.x25519.age --output super.secret.age unknown.txt

24.8.2023 15:21Bonus, identity key can be encrypted with a password:rage --encrypt --password --output identity.x25519.age identity.x25519And there will be...
https://mas.to/@gimre/1109452696...

I'll be using #rage (https://github.com/str4d/rage), but #age command line is exactly the same.Anyone can encrypt file intended for that...

https://mas.to/@gimre/1109452685...

I'll be using (github.com/str4d/rage), but command line is exactly the same.

Anyone can encrypt file intended for that recipient:
rage --recipient age1...26fu --output super.secret.age cat.txt

Recipient having his x25519 PRIVATE key inside identity.x25519, can decrypt the file.
rage --decrypt --identity identity.x25519 --output super.secret.age unknown.txt

24.8.2023 15:20I'll be using #rage (https://github.com/str4d/rage), but #age command line is exactly the same.Anyone can encrypt file intended for that...
https://mas.to/@gimre/1109452685...

Let's consider account with (ed25519) public key:`23AC0770A1060241604A8E60A47166E3E5B4034D4EE321DBE19B342E85B21544`Converting to...

https://mas.to/@gimre/1109452674...

Let's consider account with (ed25519) public key:
`23AC0770A1060241604A8E60A47166E3E5B4034D4EE321DBE19B342E85B21544`

Converting to Montgomery curve, we get (x25519) public key:
`0959f53de990977507dd785f76e94128d16b902349d30b4f6ba4551dafbc425b`

bech32 recipient is:
`age1p9vl200fjzth2p7a0p0hd62p9rgkhyprf8fsknmt5323mtaugfdsad26fu`

24.8.2023 15:20Let's consider account with (ed25519) public key:`23AC0770A1060241604A8E60A47166E3E5B4034D4EE321DBE19B342E85B21544`Converting to...
https://mas.to/@gimre/1109452674...

Bech32 is just an encoding, quite similar to base32, note howevere, that --recipient is bech32 encoding of public key, and not really an...

https://mas.to/@gimre/1109452664...

Bech32 is just an encoding, quite similar to base32, note howevere, that --recipient is bech32 encoding of public key, and not really an address.

What that means is that we can use Symbol accounts as encrypted age file --recipients.

24.8.2023 15:20Bech32 is just an encoding, quite similar to base32, note howevere, that --recipient is bech32 encoding of public key, and not really an...
https://mas.to/@gimre/1109452664...

x25519 key pair is somewhat similar but different:* it uses slightly different 'raw' private key - which is better suited for some...

https://mas.to/@gimre/1109452641...

x25519 key pair is somewhat similar but different:
* it uses slightly different 'raw' private key - which is better suited for some applications,
* public keys are usually represented as (compressed) coordinates on Montgomery curve.

Luckily it just so happens, that it's pretty easy to turn ed25519 keypair into x25519 keypair,
moreover due to birational mapping, it's also somewhat easy to covert just the public key,
for more details see rfc-editor.org/rfc/rfc7748.htm.

24.8.2023 15:19x25519 key pair is somewhat similar but different:* it uses slightly different 'raw' private key - which is better suited for some...
https://mas.to/@gimre/1109452641...

I've recently mentioned #age #encryption tool.Besides encrypting with a --password, age has --recipient flag, which allows bech32...

https://mas.to/@gimre/1109452622...

I've recently mentioned tool.
Besides encrypting with a --password, age has --recipient flag, which allows bech32 encoded X25519 public keys.

Now there are few things to untagle here.

In we're using ed25519 keys, therefore we represent public keys as compressed coordinates on Edwards curve.

24.8.2023 15:19I've recently mentioned #age #encryption tool.Besides encrypting with a --password, age has --recipient flag, which allows bech32...
https://mas.to/@gimre/1109452622...

HUGE disclaimer, I DO NOT recommend doing this with any key pair that contains substantial funds.Re-read that line, before continuing.

https://mas.to/@gimre/1109452590...

HUGE disclaimer, I DO NOT recommend doing this with any key pair that contains substantial funds.
Re-read that line, before continuing.

24.8.2023 15:18HUGE disclaimer, I DO NOT recommend doing this with any key pair that contains substantial funds.Re-read that line, before continuing.
https://mas.to/@gimre/1109452590...

We've released shoestring 0.1.0, with mainnet support 🎉...

https://mas.to/@gimre/1109114517...

We've released shoestring 0.1.0, with mainnet support 🎉

readme:
github.com/symbol/product/blob

pypi.org/project/symbol-shoest

18.8.2023 16:00We've released shoestring 0.1.0, with mainnet support 🎉...
https://mas.to/@gimre/1109114517...

It shouldn't be a surprise, that UA doesn't leave #Bakhmut. It seems that the only thing Russian Army can do is to completely level...

https://mas.to/@gimre/1099814812...

It shouldn't be a surprise, that UA doesn't leave . It seems that the only thing Russian Army can do is to completely level cities they're attacking.
Earlier 🇺🇦 were retreating when having only single escape route, but it seems it's more sensible to defend in completely destroyed city (instead of letting RU destroy another one).

I guess the fact that 🇺🇦 decimated poorly trained (and illegal) Wagner Group is not without significance.

As a side-effect is being put aside.

7.3.2023 10:17It shouldn't be a surprise, that UA doesn't leave #Bakhmut. It seems that the only thing Russian Army can do is to completely level...
https://mas.to/@gimre/1099814812...

My first #nemAdventCalendar2022 article is therehttps://gimre-xymcity.github.io/2022-12-06.zmq.htmlwhere I describe how to directly listen...

https://mas.to/@gimre/1094848205...

My first article is there

gimre-xymcity.github.io/2022-1

where I describe how to directly listen to messages published by catapult.broker process

9.12.2022 17:09My first #nemAdventCalendar2022 article is therehttps://gimre-xymcity.github.io/2022-12-06.zmq.htmlwhere I describe how to directly listen...
https://mas.to/@gimre/1094848205...
Subscribe
To add news/posts to your profile here, you must add a link to a RSS-Feed to your webfinger. One example how you can do this is to join Fediverse City.
         
Webfan Website Badge
Nutzungsbedingungen   Datenschutzerklärung  Impressum
Webfan | @Web pages | Fediverse Members