blockchain-certificates / cert-web-component Goto Github PK
View Code? Open in Web Editor NEWA web component for displaying blockchain certificates.
License: MIT License
A web component for displaying blockchain certificates.
License: MIT License
Hi there,
Just trying to get the web-component up and running on my windows machine,
I have installed bower and polymer as per the instructions, and when i run the polymer build command it returns a success, but the bundles folder isn't there as per the instruction following .. it just has a folder of 'default' and not much else.
Any suggestions would be helpful.
I also receive a 'Connection Refused' when I try and access the demo, if that helps any
Getting "Not a valid certificate. : : TypeError: Failed to fetch" when I am going to validate my certificate using cert-web-component and replace "sample_cert-valid-2.0.json" with my certificate even my certificate pass all the steps in certificate viewer see:
Let me know if I am doing anything wrong to validate the certificate.
Error is:
As it stands, we render a subtitle in a element, even when the underlying certificate has no subtitle. This shows up as a weird horizontal line that breaks our display guidelines.
(from: blockchain-certificates/cert-viewer#57 (comment))
JSON-LD
.jsonld
, .json
, .jsonld.json
<script type="application/ld+json" id="jsonld">
{"@context": {"schema": "http://schema.org/"},
"@id": "http://example.org/ns/1#thing1",
"@type": ["schema:Thing",],
"schema:name": "...",
"schema:url": "http://example.org/ns/1#thing1",
}
</script>
https://community.blockcerts.org/t/inconsistent-signed-json-examples-between-repos/1248
This cert (https://raw.githubusercontent.com/blockchain-certificates/cert-web-component/master/demo/sample_signed_cert-valid-1.2.0.json) does not validate on blockcerts.org but apparently validates with the cert-web-component.
The error I'm getting back looking at the console logs is this:
[Error] Failed to load resource: An SSL error has occurred and a secure connection to the server cannot be made. (got-issuer_live.json, line 0)
on this request copied from the browser network requests:
curl 'https://www.blockcerts.org:80/mockissuer/issuer/got-issuer_live.json' \
-XGET \
-H 'Origin: https://www.blockcerts.org' \
-H 'Accept: */*' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15' \
-H 'Referer: https://www.blockcerts.org/'
Seems to be related to the :80
that is being added on, probably since the link is a non-https link, and probably being redirected to the https equivalent but with the :80
appended? Taking off the :80
works.
Right now, the support is kind of there, but it's a bit buggy. Right now, it fails hash comparison even when provided the right transaction ID.
This is the result shown when i download cert-web-component, is it suppose to show certificate there? I run the command
$ bower install blockchain-certificate --save
Then redirect the url to the location of the demo/index.html. But web-component does not show up. am i missing any of the step? Only the html words show up.
Basic blockchain-certificate demo - locally hosted file
Here’s how you can render a locally hosted Blockcert.
The element
Locally hosted valid certificate
This demonstrates verifying a locally-hosted Blockcert.
Locally hosted revoked certificate
This demonstrates the verification behavior if a Blockcert is revoked.
blockchain-certificate demo - externally hosted file
You can also render a certificate hosted by another issuer. If they’ve set up their CORS configuration to allow external hosting, it’ll just look like above. If not, then it will show a short message and a link to the hosted certificate.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.