working der and pem generation #2

Merged
coolaj86 merged 7 commits from lastlink/bluecrypt-keypairs.js:master into master 2019-04-27 05:33:09 +00:00
2 changed files with 9 additions and 1 deletions
Showing only changes of commit 36f5337f7d - Show all commits

2
app.js
View File

@ -59,7 +59,7 @@
}) })
} }
$('.js-der').innerText = JSON.stringify(der, null, 2); $('.js-der').innerText = der;
$('.js-toc-der').hidden = false; $('.js-toc-der').hidden = false;
$('.js-jwk').innerText = JSON.stringify(results, null, 2); $('.js-jwk').innerText = JSON.stringify(results, null, 2);
$('.js-loading').hidden = true; $('.js-loading').hidden = true;

View File

@ -6,6 +6,14 @@
width: 42em; width: 42em;
height: 10em; height: 10em;
} }
/* need to word wrap the binary no space der */
.js-der{
white-space: pre-wrap; /* CSS3 */
white-space: -moz-pre-wrap; /* Firefox */
white-space: -pre-wrap; /* Opera <7 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* IE */
}
</style> </style>
</head> </head>
<body> <body>