Is there any way to verify that a given digital certificate belongs to a given coin?
It looks like with the digital certificate, you can check that the outputs are all unspent,
but not that the outputs actually belong to the coin.
If the hash from the digital certificate appeared on the coin (or something like that, perhaps around the edge) then you would
know for certain that the outputs you are checking can actually be spent using the private key under the hologram.
Maybe I'm missing something? Would be good to know
This only applies to FUNDED coins. Unfunded coins are marked "UNFUNDED" on their holograms prior to shipping.
Are you asking this to determine if a fake digital certificate generated would lead a buyer to believe a coin was in fact funded when it was not?
If so, then first, the scammer would need to have already gotten access to the private spend key without showing any noticeable marks on the hologram. This is possible as tamper evident holograms are not "tamper proof". This is stated in my terms and conditions for each sale I make.
Yes someone could create a fake digital certificate, but:
1. If they can already gain access to the private spend key in the manner described above, what's the difference, they would not need to create a fake digital certificate.
2. If they can't gain access to the private spend key, then the coin should be funded.
Is this the scenario(s) you are speaking to?
Just so I have a starting point...
Hi Smoothie. Yes I'm talking about funded coins. It's maybe a silly scenario, but say:
1) I bought a funded coin from you serial number 999.
2) I completely lost the digital certificate because I'm an idiot. Crud
3) I want to sell the coin (still not opened in any way) to someone else, but have no digital signature
4) I make a new wallet and deposit 5XMR into it. I make a new digital certificate:
HASH:
-------------------------------------------------START------------------------------------------------------
LEALANA PHYSICAL BRASS COIN 5 XMR SERIAL #999
XMR ADDRESS:
VIEW KEY:
Total # of Outputs:1
************************************INDIVIDUAL OUTPUT INFORMATION*******************************************
key_image: ........INFO GENERATED FROM A 5 XMR DEPOSIT TO MY NEW ADDRESS (NOT COIN ADDRESS)
tx_id: ............ETC
output_public_key: ETC
xmr_amount: .......5.000000000000
------------------------------------------------END---------------------------------------------------------
SIGNATURES:
5) Some time after selling the coin I withdraw my funds from my wallet, pissing off the new owner (although the coin hasn't been opened so it hasn't lost funds).
It's maybe a strange scenario. The coin is never opened and I never see the private spend key.
Edit: I think you addressed my concerns. Like I said I was a bit concerned because I thought you need Address, viewkey and spendkey to recover the wallet (I believe monero-wallet-cli asks for all of them), but you technically only need the spendkey, since the seed words are an encoding of spendkey, and the whole wallet can be recovered from the seed words.