trustpass | The trusty password security checklist | Frontend Framework library
kandi X-RAY | trustpass Summary
kandi X-RAY | trustpass Summary
The trusty password security checklist. This is a simple password strength meter & validator inspired by MailChimp's signup form. Done by folks at Trustroots.org.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates a Fingerpass passport .
- Creates a new scope
- Validate the password strength check .
- Checks that all values are valid .
- Initialize the checklist
- Initializes the checklist .
- check checklist
- this is a recursive method
trustpass Key Features
trustpass Examples and Code Snippets
Community Discussions
Trending Discussions on trustpass
QUESTION
I am running corda nodes using docker and I am trying to expose JMX metrics using Jolokia. My node.conf is the following:
...ANSWER
Answered 2019-Jun-20 at 06:02Updating actual answer from Groups.io discussion
- Remove jmxMonitoringHttpPort argument from the node.conf file
Start Corda process as follows:
java -Dcapsule.jvm.args="-javaagent:drivers/jolokia-jvm-1.3.7-agent.jar=port=10006,host=0.0.0.0" -jar ${CORDA_HOME}/corda.jar 2>&1
QUESTION
Setting up the Notary Service for Oracle RAC (Corda Enterprise).
I need some help configuring Corda Enterprise in Oracle RAC (reference: "Highly Available Notary Service - Setting up the Notary Service": http://docs.corda.r3.com/running-a-notary-cluster/installing-the-notary-service.html).
Regarding the "msql" tag, is it possible to configure an Oracle RAC? Is there an "oracle" tag?
In the "notary" tag's "serviceLegalName" parameter where should I put the name of the Notary that the Nodes see (name of the Notary in NetworkMap)? "O = HA Notary"
For Oracle RAC can I follow this pattern? http://docs.corda.r3.com/running-a-notary-cluster/introduction.html
Can I configure the "worker 1" in Oracle RAC? How? -> myLegalName : "O=Worker 1, C=GB, L=London"
Do I maintain the configuration part below pointing to my Oracle database?
My Oracle database:
...ANSWER
Answered 2018-Nov-19 at 15:40The use of Oracle RAC to create a HA notary has not been tested. In theory, any database that can be configured to have zero data loss can be used (if the DB doesn't guarantee zero data loss, i.e. it is not strongly consistent and/or doesn't have synchronous replication, data may be lost in failover, allowing double-spends). However, the MySQL HA notary implementation uses some MySQL-specific syntax that may not work with Oracle RAC.
Regarding your specific questions:
- Regarding the "msql" tag, is it possible to configure an Oracle RAC? Is there an "oracle" tag?
Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax). There is no oracle
tag.
- In the "notary" tag's "serviceLegalName" parameter where should I put the name of the Notary that the Nodes see (name of the Notary in NetworkMap)? "O = HA Notary"
Under notary.serviceLegalName
.
- For Oracle RAC can I follow this pattern? http://docs.corda.r3.com/running-a-notary-cluster/introduction.html
Yes, it may work. However, note the caveats above. This has not been tested and it may not work (e.g. due to MySQL-specific syntax).
- Can I configure the "worker 1" in Oracle RAC? How? -> myLegalName : "O=Worker 1, C=GB, L=London"
Remember that each worker needs their own local database, just like a regular Corda node. They also need a shared database that is used for notary-service-specific data.
- Do I maintain the configuration part below pointing to my Oracle database?
Yes, that configuration looks like it may work correctly.
QUESTION
I'm trying to setup an environment on separate machines:
- Server1: Node
- Server2: Bridge
- Server3: Float
When I execute the node registration or:
...ANSWER
Answered 2018-Nov-01 at 12:06Are you able to try adding the following line to your node.conf:
QUESTION
Just getting the following error trying to setup the Bridge component using Zookeeper, according to the steps described in https://docs.corda.r3.com/website/releases/3.1/bridge-configuration-file.html?highlight=zookeeper.
...ANSWER
Answered 2018-Oct-31 at 10:06This error is harmless. It indicates that the Dockerised Zookeeper has bad IP addresses, so when the Apache Curator is sent the dynamic topology, some checks fail. It does not invalidate the static configuration and everything should work fine.
Note that as of Corda Enterprise 3.2, you must use the Zookeeper version that is compatible with the Apache Curator library, which is 3.5.3-beta, and NOT the latest version.
QUESTION
I downloaded and ran the cordapp-example and then I sent transactions from the peers. When I inspected h2 database of all nodes I noted that the notary service doesn't have anything transaction in its database.
The main idea will be that the notary will generate transactions for each peer in the network as result of the interactions between peers.
How is it possible that notary doesn't save the transactions? What am I doing wrong?
Notary configuration file:
...ANSWER
Answered 2018-Aug-15 at 09:21There are several reasons why the notary doesn't see all the transactions:
- The notary in the Example CorDapp is non-validating (see https://github.com/corda/cordapp-example/blob/release-V3/kotlin-source/build.gradle#L81). This means that it only prevents double-spends, and does not get to see or store the transaction contents
- However, you have modified the notary to be validating in your example above
- Notaries are only sent a transaction if the transaction has input states and/or a timestamp (there's no need for them to see it otherwise, so it improves performance)
- The standard notary implementation doesn't record a transaction. It just records the transaction's history. This isn't a requirement, it's just have how
ValidatingNotaryFlow
is implemented
QUESTION
What's the correct way to configure TLS in production on a Corda Node?
We're trying to enable TLS on CordaApp Sample version 3.1, but the following error occurs in Corda webserver:
...ANSWER
Answered 2018-May-24 at 14:01According to Mike Hearn, from the Corda Ledger Slack channel, RPC SSL is broken in Corda 3.1 and the rework is being made in this pull request.
QUESTION
Is there any updated version(Corda Version 1) of corda/corda-docker repository ?
I am facing issue while starting the container,
1. create container command
docker create --env --env CORDA_ORG=Controller --env CORDA_LOCALITY=London --env CORDA_COUNTRY=GB --env CORDA_P2P_PORT=10002 -p 0.0.0.0:10002:10002 --env CORDA_RPC_PORT=10003 --env EXTRA_ADV_SERVICE_ID="corda.notary.validating" --env CORDA_WEBADDRESS="0.0.0.0:10004" -p 10.103.1.4:10004:10004 --name Controller -t helloworldapp:latest
2. node.conf structure for Controller
basedir : "/etc/corda"
p2pAddress : "$CORDA_HOST:$CORDA_P2P_PORT"
rpcAddress : "$CORDA_HOST:$CORDA_RPC_PORT"
h2port : 11000
myLegalName : "O=Controller,L=London,C=GB"
keyStorePassword : "cordacadevpass"
trustStorePassword : "trustpass"
extraAdvertisedServiceIds: [ "" ]
useHTTPS : false
devMode : true
webAddress: "${CORDA_WEBADDRESS}"
ANSWER
Answered 2017-Oct-19 at 08:22You have an extraneous --env with no arguments just after create. I removed that and the following command succeeded for me: (note that I also changed the port binding after -p, you could put that back)
docker create --env CORDA_ORG=Controller --env CORDA_LOCALITY=London --env CORDA_COUNTRY=GB --env CORDA_P2P_PORT=10002 -p 0.0.0.0:10002:10002 --env CORDA_RPC_PORT=10003 --env EXTRA_ADV_SERVICE_ID="corda.notary.validating" --env CORDA_WEBADDRESS="0.0.0.0:10004" -p 10004 --name controller -t helloworldapp:latest
I have started experimenting with using docker-compose for Corda, there is a (very basic) example here:
https://github.com/benabineri/corda-docker
You might like to join the public Corda slack and join the #corda-docker channel where we discuss using Corda in Docker:
QUESTION
I am currently developing a SOAP-Server/Client using CXF rev 3.1.10. Everything is set up and works quite fine as long as I don't try to use https. I am not using any xml-files/beans, except the ones that might be used 'behind the scenes' by the framework.
I would actually like to leave it that way.
I am using a self signed certificate and its extracted keys, just in case this might be necessary.
Server Classpublic class Server extends Thread {
...ANSWER
Answered 2017-Jun-16 at 09:42So, I was finally able to figure it out. Actually there were several Problems at hand
- The created keystore itself was fine, the extracted (for client use) cert wasn't
- Loading keystore and truststore in both, server and client, was a huge mistake, especially since I've used the same store/certs for both (for this I think WSS4J Interceptors and CallBackHandlers are necessary)
- During several trial and error periods I also seems to have mixed up entry and store password.
Below I will give you the code for all the classes that I've used to get a fully running example.
Key And Cert GenerationAs I always had problems with the SunAPI and its code examples for certificate creation I decided to use BouncyCastle instead.
Even though I previously decided to not use a 3rd party tool, I changed my mind due to the fact that I use this only for keystore/cert creation.
The class you are about to see is a slightly modified version of the answer from 'Maarten Bodewes' to this question:
How to store and reuse keypair in Java?
The class is pretty straight forward, hence no method comments were added...
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install trustpass
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page