GithubHelp home page GithubHelp logo

Comments (21)

rongerhards avatar rongerhards commented on August 16, 2024 2

from minimalist-ripple-client.

rongerhards avatar rongerhards commented on August 16, 2024

I have the same problem. Rekeyed, and the new secret key starts with a 3. the minimalist client is the only one that recognizes it, but i cannot re-enable the master key (which was disabled when i rekeyed).

from minimalist-ripple-client.

yannis555 avatar yannis555 commented on August 16, 2024

I send you my email address because I have been going around for a long time and I have thousands of euros on these addresses and no solution anywhere.

[email protected]

from minimalist-ripple-client.

rongerhards avatar rongerhards commented on August 16, 2024

from minimalist-ripple-client.

yannis555 avatar yannis555 commented on August 16, 2024

I had a look at the source code of the page but without success and I will still look I may be missing something I do not think.

I had just sent you a message on xrpchat ..

But honestly I desperate I have tried everything for weeks, it should be a reply from a developer jatchilli because I tried everything I think ...

from minimalist-ripple-client.

rongerhards avatar rongerhards commented on August 16, 2024

from minimalist-ripple-client.

yannis555 avatar yannis555 commented on August 16, 2024

OK I release once received no problem? I did not find anything in the source code of the page

from minimalist-ripple-client.

rongerhards avatar rongerhards commented on August 16, 2024

I think we will find the answer here:
ee429da

from minimalist-ripple-client.

rongerhards avatar rongerhards commented on August 16, 2024

Line 589 in the code:

function generateRekeyedKey() {
var keypair = generateAddress();

  • var lengthIndicator = ripple.Base.encode([keypair.secret.length]);
  • var a1 = ripple.sjcl.codec.bytes.fromBits(ripple.Seed.from_json(keypair.secret).to_bits());
  • var a2 = ripple.sjcl.codec.bytes.fromBits(ripple.Seed.from_json(MASTER_SECRET).to_bits());
  • var rks = ripple.Base.encode_check(VER_REKEYED, a1.concat(a2));
    return {
    regularKey: keypair.address,
  •   rekeyedSecret: "e"+lengthIndicator+keypair.secret+MASTER_SECRET,
    
  •   rekeyedSecret: rks,
      actualSecret: keypair.secret
    
    };

from minimalist-ripple-client.

yannis555 avatar yannis555 commented on August 16, 2024

I see the indicated area but it seems rather descriptive, I see no otion rules on my right pane. I'm a little lost think there are orders to make?...

from minimalist-ripple-client.

rongerhards avatar rongerhards commented on August 16, 2024

Now i'm looking at the actual code at https://github.com/jatchili/minimalist-ripple-client/blob/master/dev.html

Line 470 is called when the "set identity" button is pushed

function pressSetIdentity() {
var secret = document.getElementById("mysecret").value;
if (document.getElementById("myaddress").innerHTML) {
alert("you must clear the old identity first");
} else if (secret) {
if (secret.charAt(0) === "s" && setOrdinarySecret(secret)) {
// pass
} else if (secret.charAt(0) === "3" && setRekeyedSecret(secret)) {
// pass
} else if (secret.charAt(0) === "h" && setEncryptedSecret(secret)) {
// pass
} else {
alert('"'+secret+'" is not a valid secret');
}
} else {
alert("you must enter a secret");
}
}

It's checking to see if you are putting in a real secret key that starts with an "s" or the one that starts with a "3" if it's a 3, then it passes if the 3 is followed by the characters created by setRekeyedSecret(secret))
function:

function setRekeyedSecret(secret) {
// This uses a custom format that is specific to this application:
// ripple.Base.encode_check(VER_REKEYED, regular_key_secret concat master_secret)
if (secret.length < 2) {
return false;
}
var b = ripple.Base.decode_check(VER_REKEYED, secret);
if (isNaN(b)) {
return false;
}
var y = ripple.sjcl.codec.bytes.fromBits(b.toBits());
if (y.length !== 32) {
return false;
}
var rks = ripple.Base.encode_check(ripple.Base.VER_FAMILY_SEED, y.slice(0,16));
var ms = ripple.Base.encode_check(ripple.Base.VER_FAMILY_SEED, y.slice(16));
var ra = generateAddress(ms).address;
setIdentity(ra, secret, ms);
remote.setSecret(ra, ms);
remote.setSecret(generateAddress(rks).address, rks);
redefineSigningToAlwaysUseSecret(rks);
return true;
So the 52 character code is used only by this application, and within it are the new secret key and the master key.

from minimalist-ripple-client.

rongerhards avatar rongerhards commented on August 16, 2024

The answer lies in the code
https://github.com/jatchili/minimalist-ripple-client/blob/master/dev.html
Starting at line 689
Someone who knows javascript could tell us if we are able to extract the real new key.
The program is supposed to pass the real new key to the functions from the 52 character "RekeyKey"
but it is not doing it.

from minimalist-ripple-client.

yannis555 avatar yannis555 commented on August 16, 2024

You seem to know a minimum, I decipher it by looking at the terms it's a little complicated.

What I find it hard to understand is that we are the only ones to find ourselves in this case? whereas if I'm not mistaken the customer always proposes this method; we should still be able to send xrp

from minimalist-ripple-client.

rongerhards avatar rongerhards commented on August 16, 2024

Ive hired a javascript programmer to look at this. hopefully he can come up with a solution

from minimalist-ripple-client.

rongerhards avatar rongerhards commented on August 16, 2024

from minimalist-ripple-client.

yannis555 avatar yannis555 commented on August 16, 2024

me my research stops there I do not know the java nor the html to persist ...

If you ever want to hire a programmer it is a solution I pay. The same for the one who finds the solution.

But I would not try to key in the site that you gave us no confidence we do not know where it comes from

from minimalist-ripple-client.

rongerhards avatar rongerhards commented on August 16, 2024

from minimalist-ripple-client.

yannis555 avatar yannis555 commented on August 16, 2024

I try http://swamobile.net/jatchilihack/index.html

And I thank you very much his walk sends a message on xrpchat or here with your address that I reward you otherwise I would have galalere for a good time!

from minimalist-ripple-client.

hans231 avatar hans231 commented on August 16, 2024

Very happy for you Yannis !! Enjoy your money ; i also rekeyed my account by mistake and I did it several time ; rongerhards I think we have exactly the same issue ; did you resolve your problem? ; if you can help me I can give u part of my xrp

Thank you

from minimalist-ripple-client.

hans231 avatar hans231 commented on August 16, 2024

You need to try the link I gave you. I think the 52 character key that starts with “3” I’ve been trying may have been from a second or third rekey attempt. That may be the reason it doesn’t work for me. I’m fairly confident it will work for you if you only rekeyed once, or if you have the orginal 52 character code. There is no danger in this code. It is exactly the same as https://jatchili.github.io/minimalist-ripple-client/ Except it has the following code added at line 536: var c = generateAddress(rks).address; { alert('"'+ra+'" is the original address'); } { alert('"'+ms+'" is the master key'); } { alert('"'+c+'" is the new address'); } { alert('"'+rks+'" is the new secret key'); } If the new address is the same as the “regular” address shown when you look at the info for the original master key account, then the new secret will be correct. In order to use it, just put in the 52 character key that starts with a “3” Click on “connect to ripple” Click on “set identity” There will be 4 popups showing the original address and key, and the new address and key. Let me know if this works, and then I can then stop trying to come up with another solution.

I am exactly in the same situation as you did you come up with a solution rongerhards?

from minimalist-ripple-client.

rongerhards avatar rongerhards commented on August 16, 2024

look at this:
#23 (comment)

from minimalist-ripple-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.