Sharing certificates now creates a Share: a public page behind an
unguessable token where the recipient views and downloads the selected
certificates individually or as a ZIP, instead of receiving links or
attachments by email.
- Share model + certificate_share pivot; expiration (1/7/30 days),
optional password (encrypted so the owner can re-view it), revocation,
and open tracking
- Public routes under shared/{token}: password unlock gate (throttled,
session-scoped), per-certificate download, on-the-fly ZIP that is
AES-256 encrypted when the share has a password, friendly 410 page
for expired/revoked links
- Share modal on the certificates index now creates the page and
reveals a copyable link + password; optional transactional email
(ShareCreatedMail) still sends the link to a recipient
- New Shares page in the sidebar to copy links, look up passwords,
revoke, and delete shares
- Old signed-URL controller and both attachment/link mailables removed;
Dutch translations updated; Pest coverage for the full lifecycle
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
845 B
PHP
21 lines
845 B
PHP
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
<head>
|
|
@include('partials.head', ['title' => $title ?? __('Shared certificates')])
|
|
</head>
|
|
<body class="min-h-screen bg-zinc-50 antialiased selection:bg-emerald-200 selection:text-emerald-950 dark:bg-zinc-950 dark:selection:bg-emerald-900 dark:selection:text-emerald-100">
|
|
<div class="mx-auto flex min-h-screen w-full max-w-2xl flex-col gap-8 px-4 py-10 sm:py-16">
|
|
<div class="flex justify-center">
|
|
<x-app-logo href="{{ route('home') }}" />
|
|
</div>
|
|
|
|
@yield('content')
|
|
|
|
<flux:text class="text-center text-xs">
|
|
{{ __('Shared securely via :app.', ['app' => config('app.name')]) }}
|
|
</flux:text>
|
|
</div>
|
|
|
|
@fluxScripts
|
|
</body>
|
|
</html>
|