Hi, Everyone - How to get or know Base64 Log ID

152 views
Skip to first unread message

home pc

unread,
Nov 18, 2017, 3:16:20 AM11/18/17
to certificate-transparency
Hi
Hi, Everyone - How to get or know Base64 Log ID..?

Pierre Phaneuf

unread,
Nov 20, 2017, 7:06:46 AM11/20/17
to certificate-transparency
You cannot get the log ID from the log itself, but you can find the
log ID of the logs that we known of here:

https://www.certificate-transparency.org/known-logs

The log ID is the SHA-256 hash of the log's public key.

On Sat, Nov 18, 2017 at 8:16 AM, home pc <amitkumar...@gmail.com> wrote:
> Hi
> Hi, Everyone - How to get or know Base64 Log ID..?
>
> --
> You received this message because you are subscribed to the Google Groups
> "certificate-transparency" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to certificate-transp...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/certificate-transparency/8724e1c8-ed03-4d77-8f88-462cd60c5610%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

home pc

unread,
Nov 20, 2017, 3:21:56 PM11/20/17
to certificate-transparency
Okay thanks, but other company have base64 id

Screen Shot 2017-11-21 at 1.46.55 AM.png

Al Cutter

unread,
Nov 20, 2017, 5:22:51 PM11/20/17
to certificate-...@googlegroups.com, home pc
Hi,

Here's an example with the Digicert ct2 log's public key (the string being echo'd is the base64 encoding of its public key in DER format, you can replace this with your base64 encoded public key in DER format to get your LogID):

$ echo -n "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzF05L2a4TH/BLgOhNKPoioYCrkoRxvcmajeb8Dj4XQmNY+gxa4Zmz3mzJTwe33i0qMVp+rfwgnliQ/bM/oFmhA==" | base64 --decode | openssl dgst -sha256 -binary | base64

h3W/51l8+IxDmV+9827/Vo1HVjb/SrVgwbTq/16ggw8=

You'll see that the output base64 string matches the LogID for that log on the known-logs page you referenced: 

h3W/51l8+IxDmV+9827/Vo1HVjb/SrVgwbTq/16ggw8=

HTH.

Cheers,
Al.

--
You received this message because you are subscribed to the Google Groups "certificate-transparency" group.
To unsubscribe from this group and stop receiving emails from it, send an email to certificate-transparency+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/certificate-transparency/2d5f71b8-fbe6-4dbc-9cd7-abc4068e2388%40googlegroups.com.

home pc

unread,
Nov 20, 2017, 5:46:16 PM11/20/17
to certificate-transparency
Lots of Thanks and Thank You Brother, its working and My Certificate Transparency is almost 70-80% completed, My name is Prafful Kumar Sinha and Am from India.

Please Please don't go....I have few question....I will ask to you an another days...

On Saturday, November 18, 2017 at 1:46:20 PM UTC+5:30, home pc wrote:
Message has been deleted
Message has been deleted

Ray Cheng

unread,
Nov 24, 2017, 11:43:49 AM11/24/17
to certificate-transparency
FWIW, the log ID is in the 'id' field of the 'add-chain' or 'add-pre-chain' response. This should of course match the calculated value.

Sample response for Venafi Gen2 log:
{
    "sct_version": 0,
    "id": "AwGd8/2FppqOvR+sxtqbpz5Gl3T+d/V5/FoIuDKMHWs=",
    "timestamp": 1511456875855,
    "extensions": "",
    "signature": "BAMARzBFAiEA+T0qYhb0WrAN1EXsvra/WcWENIs4KOSBZwkJ4j9WxsACIE6akR+mNfd+LvI3riNbbzpoi9Zk1sur0KY/vbNFGv/I"
}
Reply all
Reply to author
Forward
0 new messages