File tree Expand file tree Collapse file tree 4 files changed +35
-5
lines changed
RoflAppInstanceDetailsPage Expand file tree Collapse file tree 4 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 1+ Explain SEK, RAK, REK rofl keys
Original file line number Diff line number Diff line change @@ -129,9 +129,6 @@ export const RoflAppDetailsView: FC<{
129129 < DetailsRow title = { t ( 'rofl.enclaveId' ) } >
130130 < Enclaves policy = { app . policy } />
131131 </ DetailsRow >
132- < DetailsRow title = { t ( 'rofl.sekPublicKey' ) } >
133- < span className = "font-medium" > { app . sek } </ span > < CopyToClipboard value = { app . sek } />
134- </ DetailsRow >
135132 < AdminAccountRow
136133 address = { app . admin_eth ?? app . admin }
137134 scope = { { network : app . network , layer : app . layer } }
@@ -151,6 +148,18 @@ export const RoflAppDetailsView: FC<{
151148 />
152149 </ div >
153150 </ DetailsRow >
151+ < DetailsRow
152+ title = {
153+ < div className = "flex items-center gap-4" >
154+ { t ( 'rofl.sekPublicKey' ) }
155+ < Tooltip title = { t ( 'rofl.sekPublicKeyTooltip' ) } >
156+ < InfoIcon htmlColor = { COLORS . brandDark } fontSize = "small" />
157+ </ Tooltip >
158+ </ div >
159+ }
160+ >
161+ < span className = "font-medium" > { app . sek } </ span > < CopyToClipboard value = { app . sek } />
162+ </ DetailsRow >
154163 < DetailsRow
155164 title = {
156165 < div className = "flex items-center gap-4" >
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ import { CopyToClipboard } from '../../components/CopyToClipboard'
1717import { useRuntimeTxMethodParam } from '../../hooks/useCommonParams'
1818import { AccountLink } from '../../components/Account/AccountLink'
1919import { SimpleJsonCode } from 'app/components/CodeDisplay/SimpleJsonCode'
20+ import { Tooltip } from '@oasisprotocol/ui-library/src/components/tooltip'
21+ import InfoIcon from '@mui/icons-material/Info'
22+ import { COLORS } from '../../../styles/theme/colors'
2023
2124export const RoflAppInstanceDetailsPage : FC = ( ) => {
2225 const { t } = useTranslation ( )
@@ -58,13 +61,27 @@ export const RoflAppInstanceDetailsView: FC<{
5861
5962 return (
6063 < StyledDescriptionList >
61- < dt > { t ( 'rofl.rakAbbreviation' ) } </ dt >
64+ < dt >
65+ < div className = "flex items-center gap-4" >
66+ { t ( 'rofl.rakAbbreviation' ) }
67+ < Tooltip title = { t ( 'rofl.rakAbbreviationTooltip' ) } >
68+ < InfoIcon htmlColor = { COLORS . brandDark } fontSize = "small" />
69+ </ Tooltip >
70+ </ div >
71+ </ dt >
6272 < dd >
6373 < span >
6474 { instance . rak } < CopyToClipboard value = { instance . rak } />
6575 </ span >
6676 </ dd >
67- < dt > { t ( 'rofl.rekAbbreviation' ) } </ dt >
77+ < dt >
78+ < div className = "flex items-center gap-4" >
79+ { t ( 'rofl.rekAbbreviation' ) }
80+ < Tooltip title = { t ( 'rofl.rekAbbreviationTooltip' ) } >
81+ < InfoIcon htmlColor = { COLORS . brandDark } fontSize = "small" />
82+ </ Tooltip >
83+ </ div >
84+ </ dt >
6885 < dd >
6986 < span >
7087 { instance . rek } < CopyToClipboard value = { instance . rek } />
Original file line number Diff line number Diff line change 769769 "policy" : " Policy" ,
770770 "rak" : " Runtime Attestation Key" ,
771771 "rakAbbreviation" : " RAK" ,
772+ "rakAbbreviationTooltip" : " Runtime Attestation Key generated inside each ROFL replica used for secure enclave-enclave communication and attestation." ,
772773 "rekAbbreviation" : " REK" ,
774+ "rekAbbreviationTooltip" : " Runtime Encryption Key generated inside each ROFL replica used to sign blockchain transactions." ,
773775 "removed" : " Removed" ,
774776 "replicaDetails" : " Replica details" ,
775777 "replicaPays" : " Replica pays" ,
782784 "secrets" : " Secrets" ,
783785 "secretsTooltip" : " These secrets are end-to-end encrypted and can only be read by the app running in ROFL." ,
784786 "sekPublicKey" : " SEK Public Key" ,
787+ "sekPublicKeyTooltip" : " Secrets Encryption Key for encrypting user secrets and generating the keys." ,
785788 "sgx" : " SGX" ,
786789 "stakedAmount" : " Staked amount" ,
787790 "tdx" : " TDX" ,
You can’t perform that action at this time.
0 commit comments