Bitcoin Forum
June 19, 2019, 12:13:40 PM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: « 1 ... 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 [1573] 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 ... 2567 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2752710 times)
gimre
Legendary
*
Offline Offline

Activity: 857
Merit: 1000



View Profile WWW
February 09, 2014, 04:03:27 PM
Last edit: February 09, 2014, 04:31:38 PM by gimre
 #31441

I hope that u won't create a "solution" that leaks private key bits. I'm against the changes until I see a formal proof, so u better talk to Jean-Luc.

Well, I understand math behind the change. (Please, spend 5 min, to read original BloodyRookie's post).

The ONLY difference to original sign is that (x-h) is represented correctly.
(and it WON'T leak keys, attacker would STILL need to solve DLP problem in that group:
 or in other words, if s is priv key, what is the difference between a*s and a'*s)

I'm going to run NRS with patched Curve from now on.

edit: some more explanation here: https://nextcoin.org/index.php/topic,3915.0.html

1560946420
Hero Member
*
Offline Offline

Posts: 1560946420

View Profile Personal Message (Offline)

Ignore
1560946420
Reply with quote  #2

1560946420
Report to moderator

0% MINING FEES FOR THE NEXT MONTH. GET PAID IN BTC, ETH, XMR or RVN.

www.cudominer.com Learn More
Easily run CudoOS from a USB flash drive.
Designed for rigs. Manage your mining remotely from Cudo Console.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1560946420
Hero Member
*
Offline Offline

Posts: 1560946420

View Profile Personal Message (Offline)

Ignore
1560946420
Reply with quote  #2

1560946420
Report to moderator
ChuckOne
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250

☕ NXT-4BTE-8Y4K-CDS2-6TB82


View Profile
February 09, 2014, 04:06:06 PM
 #31442

Waoh, made the mistake and had a look at:
https://github.com/gimer/curve25519-sign-test/blob/master/src/nxt/crypto/Curve25519.java
My eyes are bleeding as does my computer science heart.

Mathematicians, physicists and cryptographists should NOT write code. Please! Pleeeease!  Cry

You want us to audit but reading this is like reading a best-seller that has been injected grammar errors and typos each in every sentence. So, how to find the errors in content if you can barely tell them apart from the former ones.

I really get the impression that programmed cryptography is not so difficult in the end; except when people having no idea how to write it down write it down.  Angry

Sorry for being emotional.

But you are aware, that this is almost exactly the same file, as used in NRS... :>

You see what I mean?  Angry

Bugs hidden up.
gimre
Legendary
*
Offline Offline

Activity: 857
Merit: 1000



View Profile WWW
February 09, 2014, 04:27:08 PM
 #31443

Waoh, made the mistake and had a look at:
https://github.com/gimer/curve25519-sign-test/blob/master/src/nxt/crypto/Curve25519.java
My eyes are bleeding as does my computer science heart.

Mathematicians, physicists and cryptographists should NOT write code. Please! Pleeeease!  Cry

You want us to audit but reading this is like reading a best-seller that has been injected grammar errors and typos each in every sentence. So, how to find the errors in content if you can barely tell them apart from the former ones.

I really get the impression that programmed cryptography is not so difficult in the end; except when people having no idea how to write it down write it down.  Angry

Sorry for being emotional.

But you are aware, that this is almost exactly the same file, as used in NRS... :>

You see what I mean?  Angry

Bugs hidden up.

Yeah, this piece is far from beauty, but keep in mind few things:
  • curve itself and calculation of priv key is done the way, that djb did it
  • it was optimized for speed
  • once you know what all the strange APIs (mula_small, mula32, divmod) are doing, it's not that hard to follow, what's going on
  • sign&verify, was done by xmath @ sci.crypt list: https://groups.google.com/forum/#!topic/sci.crypt/J_7OGDf9cJE
  • it's hard to tell, if the bug was present in original C implementation*, or was it introduced, when code was ported to Java

* if some would have the copy of that C implementation, I'd be really thankful, to have look at it.

marcus03
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
February 09, 2014, 04:33:00 PM
 #31444

Here is version 1.7 of my Windows NXT client "NXT Solaris".

The (future) open-source version now has the everything implemented that the closed-source version has (except for the blockchain explorer which won't be available in the open-source version).


Changelog
Changed for v1.7
-OS version: Designed data grids
-OS version: Added market graphs
-OS version: Added visual styles (not persistent between application starts yet)
-NRS 0.7.2 is now included


Download
64-bit Version: NXTSolaris-v1.7-64bit.zip (108 MB) – Download here
SHA256 checksum for NXTSolaris-v1.7-64bit.zip: F85AB521CD5A00C40BDC6280A6DF943DC5A0DD930D48F610DE44970ADA8BB62F

32-bit Version: NXTSolaris-v1.7-32bit.zip (104 MB) – Download here
SHA256 checksum for NXTSolaris-v1.7-32bit.zip: 480F90CBCFE3FA3FE8FA68FC9087FAF817BDAF637C23544881BEAE6490600F66


Screenshot
In the open-source version you can now select different visual styles, so the personal account management now can look like this:



The visual styles available still need a bit of tweaking.

For more screenshots and everything else please visit: http://nxtsolaris.wordpress.com/


Installation
Simply unzip the archive and run the NXTSolarisStarter.exe file.

The current version 1.7 is compatible with the previous version 1.6, but not compatible with version 1.5 and before.

If you are updating from version 1.6 simply replace all files with the files in the version 1.7 zip archive.

Roadmap
1.) Move current version of my code to XE5 and release closed source 32-bit and 64-bit versions for Windows. [DONE]
2.) Refactor code to a MVC architecture, so that I can create separate GUIs while using the same version of the business logic code. [DONE]
3.) Create new GUIs for Windows and OS X using the same business logic, but based on the cross-platform Firemonkey libraries. [DONE]
4.) Release Windows version (32 and 64 bit) based on FireMonkey. [DONE]
5.) Implement new features from the TODO list
6.) Release source-code for FireMonkey Windows version (February 16th, 2014 latest)
7.) Implement new features from the TODO list
8.) OSX compatibility changes
9.) Release OSX version based on FireMonkey.
10.) Release source code for FireMonkey OSX version.

TODO list
-Offer a simple and advanced GUI, with the simple GUI targeted at new users
-Asset exchange support
-Implement client side Curve25519 encryption/signing
-Arbitrary message encryption


Donations
I hope you like my client and I’d be extremely happy to see some donations for the future of this project!

NXT: 1758531264253431177
SZZT
Sr. Member
****
Offline Offline

Activity: 273
Merit: 250


View Profile
February 09, 2014, 04:52:11 PM
 #31445

Here is version 1.7 of my Windows NXT client "NXT Solaris".

nice & Sleek!
running it now!

1HceYnNAUv5zBjJUhEncmmvxU1C7yjWoX8
newsilike
Sr. Member
****
Offline Offline

Activity: 616
Merit: 262


★YoBit.Net★ 1400+ Coins Exchange


View Profile
February 09, 2014, 05:05:39 PM
 #31446

@marcus03
Looks so cool and runs really smooth  Smiley

About time to get some newbies on board  Cheesy

I'm not up to date with the community fund distribution but I think marcus03 should definitely get a chunk of it.
Especially since he's building an open source client as well now Smiley
drsnuggles
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
February 09, 2014, 05:07:08 PM
 #31447

Here is version 1.7 of my Windows NXT client "NXT Solaris".

The (future) open-source version now has the everything implemented that the closed-source version has (except for the blockchain explorer which won't be available in the open-source version).
That GUI look really good! Only thing I don't like is that there is a closed-source version which has more options. Is there a way to make just one version and make it open source?
wesleyh
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
February 09, 2014, 05:14:55 PM
 #31448

I like the docs at http://localhost:7874/docs - but is there any way to see method arguments (for nxt.http) - Perhaps I'm missing something but I don't see them. Only the function name and what it extends and some other non-important information.
lophie
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000

Unlimited Free Crypto


View Profile
February 09, 2014, 05:20:27 PM
 #31449

I hope that u won't create a "solution" that leaks private key bits. I'm against the changes until I see a formal proof, so u better talk to Jean-Luc.

Well, I understand math behind the change. (Please, spend 5 min, to read original BloodyRookie's post).

The ONLY difference to original sign is that (x-h) is represented correctly.
(and it WON'T leak keys, attacker would STILL need to solve DLP problem in that group:
 or in other words, if s is priv key, what is the difference between a*s and a'*s)

I'm going to run NRS with patched Curve from now on.

edit: some more explanation here: https://nextcoin.org/index.php/topic,3915.0.html

Well since you understand this math and stuff, how about you make us MPK like functionality and we will reward you handsomely for it.

NAME THE PRICE, If it was reasonable I will PAY, I will use escrow as well, I will also rally for more funds for this.

Basically I need you to implement BIP0032 for NXT, or at least tell us if and why it is not possible to do so.

A link to show you what I am trying to accomplish here: https://github.com/genjix/bips/blob/master/bip-0032.md, It was implemented in Electrum bitcoin thin client. For me it will suffice if you make the appropriate working address generation in Java.

This is an open request and prize.

- Lophie

Will take me a while to climb up again, But where is a will, there is a way...
Jean-Luc
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile WWW
February 09, 2014, 05:24:46 PM
 #31450

I like the docs at http://localhost:7874/docs - but is there any way to see method arguments (for nxt.http) - Perhaps I'm missing something but I don't see them. Only the function name and what it extends and some other non-important information.
The documentation is all auto-generated with javadoc. My plan is to add descriptions of the http request parameters expected, and the json object returned, as javadoc comments for all request processing classes in nxt.http, but I haven't done it yet. This way hopefully the http api documentation will stay in sync with the code, if whoever changes the code bothers to update the comment too.

lead Nxt developer, gpg key id: 0x811D6940E1E4240C
Nxt blockchain platform | Ardor blockchain platform | Ignis ICO
marcus03
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
February 09, 2014, 05:25:54 PM
 #31451


Here is version 1.7 of my Windows NXT client "NXT Solaris".

The (future) open-source version now has the everything implemented that the closed-source version has (except for the blockchain explorer which won't be available in the open-source version).
That GUI look really good! Only thing I don't like is that there is a closed-source version which has more options. Is there a way to make just one version and make it open source?

The os version has visual styles which the cs version doesn't have. On the other hand, the cs version has the block chain explorer, that won't be available in the os version for technical reasons. If blockchain pruning is implemented the whole block chain explorer won't make much sense anyway.

As long as technical possible, all features will be available in both versions.
freigeist
Hero Member
*****
Offline Offline

Activity: 926
Merit: 502


View Profile
February 09, 2014, 05:32:40 PM
 #31452


  • once you know what all the strange APIs (mula_small, mula32, divmod) are doing, it's not that hard to follow, what's going on
* if some would have the copy of that C implementation, I'd be really thankful, to have look at it.




ChuckOne
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250

☕ NXT-4BTE-8Y4K-CDS2-6TB82


View Profile
February 09, 2014, 05:46:46 PM
 #31453

So we could host Wikileaks on decentralised Nxt web

Yeah, in principle. But, I think we should concentrate on the basics right now. As you can see, the building blocks aren't reading now.
achimsmile
Legendary
*
Offline Offline

Activity: 1225
Merit: 1000


View Profile
February 09, 2014, 05:48:40 PM
 #31454

Here is version 1.7 of my Windows NXT client "NXT Solaris".

Holy shit marcus03, looking good!  Shocked

I planned to stop using the official java client until nexern's client comes out... but you make me reconsider   Smiley
gimre
Legendary
*
Offline Offline

Activity: 857
Merit: 1000



View Profile WWW
February 09, 2014, 05:54:45 PM
 #31455

Basically I need you to implement BIP0032 for NXT, or at least tell us if and why it is not possible to do so.

A link to show you what I am trying to accomplish here: https://github.com/genjix/bips/blob/master/bip-0032.md, It was implemented in Electrum bitcoin thin client. For me it will suffice if you make the appropriate working address generation in Java.

definitely possible, but currently, I don't think, you would be able to use derived keys -- that is, not until, there will be APIs that CfB mentioned here:
How does one sign a transaction on the client side instead of sending the password in the clear to the server? Any info on this?

I'm working on this. The workflow will look like:

1. U use prepareTransaction API call that returns raw bytes
2. U sign the bytes and inject the signature into them
3. U use broadcastTransaction to send the transaction

Also I think it might be possible, to use bit different scheme, than the one described in BIP.

(out of curiosity, why would you want that, cause maybe there's other way to do it in case of NXT?)

Mistafreeze
Sr. Member
****
Offline Offline

Activity: 432
Merit: 250


View Profile
February 09, 2014, 06:00:24 PM
 #31456

Windows Installer 0.7.2 Test release:

This version will Uninstall previous versions of my installer, check for Java and install it, and now it checks the SHA256 of the downloaded nxt-client-0.7.2.zip against the checksum given by the developers. If it doesn't match, setup will exit. The client zip can still be left behind after the install for manual verification that I'm not doing anything funny. This also is the first release of the Nxt Installer that uses the database backend. So far I haven't had any issues from that. The database download is about 36MB compressed, so not a whole lot bigger than Blocks.nxt and Transactions.nxt.

If the directory c:\nxt exists before the installer is run, it will be renamed to nxt.bak.

Download is here:
http://www.mediafire.com/download/u5q3ia3zjigcmoq/Nxt_0.7.2_Web_Setup.exe

SHA256: 4B5FBCB506EB611C24A57AD18CD9E20613889FB4C026DEE2B9350F4263564B9F

This became a lot more complicated than I would've liked, so please test and let me know if you encounter any issues.

Tested so far on Win7 x64 and Win8 x64.

lophie
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000

Unlimited Free Crypto


View Profile
February 09, 2014, 06:04:47 PM
 #31457

Basically I need you to implement BIP0032 for NXT, or at least tell us if and why it is not possible to do so.

A link to show you what I am trying to accomplish here: https://github.com/genjix/bips/blob/master/bip-0032.md, It was implemented in Electrum bitcoin thin client. For me it will suffice if you make the appropriate working address generation in Java.

definitely possible, but currently, I don't think, you would be able to use derived keys -- that is, not until, there will be APIs that CfB mentioned here:
How does one sign a transaction on the client side instead of sending the password in the clear to the server? Any info on this?

I'm working on this. The workflow will look like:

1. U use prepareTransaction API call that returns raw bytes
2. U sign the bytes and inject the signature into them
3. U use broadcastTransaction to send the transaction

Also I think it might be possible, to use bit different scheme, than the one described in BIP.

(out of curiosity, why would you want that, cause maybe there's other way to do it in case of NXT?)

Signing on the client side is already implemented in the android client and the code is open source. The only problem is the desktop client communicates over browser so the signing should be java script, But anyway I honestly don't know how this is related.

With MPK you can have one public key that is able to generate other public keys without touching the private keys. Because they are linked from the seed in a certain way, Both chains (Private key chain, public key chain), will generate corresponding keys in a sequence.

A very good example is AcceptBit.com which is a private key free POS system.

The MPK functionality is VERY important to my new exchange, Also I believe it to be a key element in the automation of decentralized markets, At gateway level.

- Lophie

p.s: There is no way to do this in NXT, I am lacking proper knowledge to surpass the dam of different curve functions between Bitcoin and NXT...

Will take me a while to climb up again, But where is a will, there is a way...
freigeist
Hero Member
*****
Offline Offline

Activity: 926
Merit: 502


View Profile
February 09, 2014, 06:08:50 PM
 #31458

Is there any public node or test node running the latest NRS version that allows
api calls?

Is this documentation at http://www.thenxtwiki.org/wiki/Nxt_API#Description
already obsolete as there were already several daily updated  from 0.5.11 to 0.7.2?

Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2100
Merit: 1008

Newbie


View Profile
February 09, 2014, 06:20:11 PM
 #31459

I hope that u won't create a "solution" that leaks private key bits. I'm against the changes until I see a formal proof, so u better talk to Jean-Luc.

Well, I understand math behind the change. (Please, spend 5 min, to read original BloodyRookie's post).

The ONLY difference to original sign is that (x-h) is represented correctly.
(and it WON'T leak keys, attacker would STILL need to solve DLP problem in that group:
 or in other words, if s is priv key, what is the difference between a*s and a'*s)

I'm going to run NRS with patched Curve from now on.

edit: some more explanation here: https://nextcoin.org/index.php/topic,3915.0.html

There are 2 options:

1. Patch Curve25519 class
2. Patch Crypto class

Option 1, unlike option 2, may lead to problems u can't even imagine. I would patched Crypto...
BloodyRookie
Hero Member
*****
Offline Offline

Activity: 684
Merit: 500


View Profile
February 09, 2014, 06:20:16 PM
 #31460

I've made repo with test:
https://github.com/gimer/curve25519-sign-test

I've also added class files to the repo, so it's enough to replace "nxt-0.7.2\webapps\root\WEB-INF\classes\nxt\crypto\Curve25519.class" with file from the repo and it should work.

I hope that u won't create a "solution" that leaks private key bits. I'm against the changes until I see a formal proof, so u better talk to Jean-Luc.

I don't want to be offensive, but it seems that the curve25519.java file is a black box for you. Talking about leaking private key bits from those changes is ridiculous.
But if BCNext, Jean-Luc and you refuse to make changes to that file then we just have to live with a (in my opinion annoying) every now and then failing signature/verification system.

Nothing Else Matters
NEM: NALICE-LGU3IV-Y4DPJK-HYLSSV-YFFWYS-5QPLYE-ZDJJ
NXT: 11095639652683007953
Pages: « 1 ... 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 [1573] 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 ... 2567 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!