wallet-adapter icon indicating copy to clipboard operation
wallet-adapter copied to clipboard

Ledger signMessage support

Open hudymvol opened this issue 3 years ago • 18 comments

Hi, are there any plans to add signMessage support for Ledger?

As far as I can see, it is not available at the current moment.

hudymvol avatar Nov 17 '21 22:11 hudymvol

@hudymvol the issue seems to go a little deeper: https://github.com/phantom-labs/sandbox/issues/14

neverything avatar Nov 19 '21 12:11 neverything

@neverything I'm not an expert in this but, as I can see during the transaction we also getting some signature. Won't it be possible just to implement function signMessage and return that signature? I believe signature which is created during the transaction has the same creation logic as signature which should be created during message signing.

influento avatar Nov 23 '21 23:11 influento

@Crispried iirc this is a different type of signature that gets created differently. The signMessage can be done just between the wallet and the website and doesn't need a connection to the blockchain itself to be generated.

neverything avatar Nov 24 '21 08:11 neverything

@neverything so, the way how wallets create signatures for transactions is different from the way how they create signatures for message? I was sure it's the same. I believe it means they use different cryptography algorithms for that. Could you explain how it works? Or maybe share some links where I could read about that?

My point was that if we can get signature from Ledger but, by calling some "non-standard" API from Ledger side then let it be and we could handle that on wallet adapter level. The main thing is to get the signature. But, obviously if the way how transaction are signed is completely different from the way how message are signed it doesn't make sense.

influento avatar Nov 24 '21 18:11 influento

Has anyone reached to Solana ledger app devs?

devourer66 avatar Dec 02 '21 17:12 devourer66

@devourer66 yes, I think the Phantom folks have already raised this: https://github.com/phantom-labs/sandbox/issues/14

neverything avatar Dec 03 '21 10:12 neverything

Just back from vacation! This is currently blocked by https://github.com/solana-labs/solana/issues/21366. Once it's supported natively in the Ledger app, we can find out how support it in the adapter.

jordaaash avatar Dec 03 '21 19:12 jordaaash

Seems like there is some good news out and this will hopefully be delivered in Q1 2022, according to https://github.com/solana-labs/solana/issues/21366#issuecomment-994886128

neverything avatar Dec 17 '21 15:12 neverything

hey guys, is there any progress in ledger support

Sunnyjson avatar Feb 28 '22 07:02 Sunnyjson

@Sunnyjson this isn't the place to track Ledger features. Please subscribe to the above linked tracking issue.

jordaaash avatar Feb 28 '22 16:02 jordaaash

Hey , guys any update on signMessage function ?

raghibislam avatar Mar 03 '22 10:03 raghibislam

Hey , guys any update on signMessage function?

LenChou95 avatar Mar 24 '22 09:03 LenChou95

Hi, there. I wanna a random string and a signed message which is called signature. It is possible on called signature.

sasuke0601 avatar Apr 01 '22 16:04 sasuke0601

Hey, any update on signMessage function?

heymike777 avatar Apr 26 '22 15:04 heymike777

Since it isn't like this is coming any time soon, I've created an app that let's user just send a amount of SOL to "sign a message": https://github.com/kizzx2/solana-sign-with-payment

kizzx2 avatar May 14 '22 09:05 kizzx2

I'll add my message to the graveyard here, any update?

ChewingGlass avatar Jul 07 '22 20:07 ChewingGlass

See https://github.com/phantom-labs/sandbox/issues/14#issuecomment-1178510137

neverything avatar Jul 08 '22 10:07 neverything