Compare commits

...

2 Commits

Author SHA1 Message Date
48201132bd relax cert verification constraints
we have more than just server auth!
2025-06-29 08:25:28 +02:00
37713f8c16 ui: mini 'fixes' 2025-06-29 08:24:56 +02:00
3 changed files with 6 additions and 10 deletions

View File

@ -148,7 +148,7 @@ func getUsableKeyCert(cluster, caName, name, profile, label string, req *csr.Cer
return
}
_, err = cert.Verify(x509.VerifyOptions{Roots: pool})
_, err = cert.Verify(x509.VerifyOptions{Roots: pool, KeyUsages: []x509.ExtKeyUsage{x509.ExtKeyUsageAny}})
return
}()
if err == nil {

View File

@ -10,16 +10,13 @@
.downloads {
& > * {
display: inline-block;
margin-left: 1ex;
margin-right: 1ex;
margin-bottom: 1ex;
padding: 0.5ex;
border: 1px solid;
border-radius: 1ex;
cursor: pointer;
}
& > *:first-child {
margin-left: 0;
}
& > .selected {
color: blue;
}

View File

@ -64,10 +64,9 @@ export default {
{{" "}}
</template>
</p>
<button :disabled="createDisabled || assets.length==0" @click="createToken">Create links</button>
<p><button :disabled="createDisabled || assets.length==0" @click="createToken">Create links</button></p>
<template v-if="downloads.length">
<h4>Active links</h4>
<p class="download-links"><template v-for="d in downloads"><a :href="d.url" download>{{ d.name }}</a>{{" "}}</template></p>
</template>
</div>`
<h4>Active links</h4>
<p class="download-links"><template v-for="d in downloads"><a :href="d.url" download>{{ d.name }}</a>{{" "}}</template></p>
</template>`
}