Browsing Portuguese translation

28 of 925 results
28.

The fde-setup-request command is used inside the fde-setup hook. It will
return information about what operation for full-disk encryption is
requested and auxiliary data to complete this operation.

The fde-setup hook should do what is requested and then call
"snapctl fde-setup-result" and pass the result data to stdin.

Here is an example for how the fde-setup hook is called initially:
$ snapctl fde-setup-request
{"op":"features"}
$ echo '{"features": []}' | snapctl fde-setup-result

Alternatively the hook could reply with:
$ echo '{"error":"hardware-unsupported"}' | snapctl fde-setup-result

And then it is called again with a request to do the initial key setup:
$ snapctl fde-setup-request
{"op":"initial-setup", "key": "key-to-seal"}
$ echo "{"sealed-key":"$base64_encoded_sealed_key"}" | snapctl fde-setup-result
There are line breaks here. Each one represents a line break. Start a new line in the equivalent position in the translation.

O comando "fde-setup-request" é usado dentro do hook "fde-setup". Ele retornará informações sobre qual operação de criptografia de disco completo está sendo solicitada e dados auxiliares necessários para concluir essa operação.

O hook "fde-setup" deve realizar o que for solicitado e, em seguida, chamar "snapctl fde-setup-result" e passar os dados de resultado para a entrada padrão.

Aqui está um exemplo de como o hook "fde-setup" é chamado inicialmente:
$ snapctl fde-setup-request
{"op":"features"}
$ echo '{"features": []}' | snapctl fde-setup-result

Alternativamente, o hook pode responder com:
$ echo '{"error":"hardware-unsupported"}' | snapctl fde-setup-result

E depois é chamado novamente com uma solicitação para realizar a configuração inicial da chave:
$ snapctl fde-setup-request
{"op":"initial-setup", "key": "chave-a-selar"}
$ echo '{"chave-selada":"$base64_encoded_chave_selada"}" | snapctl fde-setup-result
Translated and reviewed by Ivo Xavier
Located in overlord/hookstate/ctlcmd/fde_setup.go:36
28 of 925 results

This translation is managed by Ubuntu Portuguese Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.