|
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 '[]' | 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", "key-name":"key-for-ubuntu-data"}
$ echo "$sealed_key" | snapctl fde-setup-result
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Příkaz fde-setup-request se používá uvnitř fde-setup hook. Vrátí
informace o tom, jaká operace pro šifrování celého disku je
požadována, a pomocná data k dokončení této operace.
Fde-setup hook by měl dělat, co je požadováno, a poté zavolat
„snapctl fde-setup-result“ a předat výsledná data stdin.
Zde je příklad, jak se fde-setup hook zpočátku volá:
$ snapctl fde-setup-request
{"op":"features"}
$ echo '[]' | snapctl fde-setup-result
Alternativně může hook odpovědět:
$ echo '{"error":"hardware-unsupported"}' | snapctl fde-setup-result
A pak se znovu zavolá s požadavkem na počáteční nastavení klíče:
$ snapctl fde-setup-request
{"op":"initial-setup", "key": "key-to-seal", "key-name":"key-for-ubuntu-data"}
$ echo "$sealed_key" | snapctl fde-setup-result
|
|
Translated by
Víťa Šrůtek
|
|
Reviewed by
Tomáš Marný
|
|
|
|
Located in
overlord/hookstate/ctlcmd/fde_setup.go:36
|
|
29.
|
|
|
The fde-setup-result command sets the result data for a fde-setup hook
reading it from stdin.
For example:
When the fde-setup hook is called with "op":"features:
$ echo "[]" | snapctl fde-setup-result
When the fde-setup hook is called with "op":"initial-setup":
$ echo "sealed-key" | snapctl fde-setup-result
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Příkaz fde-setup-result nastavuje výsledná data pro fde-setup hook,
který je čte ze stdin.
Například:
Když se zavolá fde-setup hook s "op":"features:
$ echo "[]" | snapctl fde-setup-result
Když se zavolá fde-setup hook s "op":"initial-setup":
$ echo "sealed-key" | snapctl fde-setup-result
|
|
Translated by
Víťa Šrůtek
|
|
Reviewed by
Tomáš Marný
|
|
|
|
Located in
overlord/hookstate/ctlcmd/fde_setup.go:101
|
|
30.
|
|
|
The file-access command returns information about a snap's file system access.
This command is used by the xdg-document-portal service to identify
files that do not need to be proxied to provide access within
confinement.
File paths are interpreted as host file system paths. The tool may
return false negatives (e.g. report that a file path is unreadable,
despite being readable under a different path). It also does not
check if file system permissions would render a file unreadable.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Příkaz file-access vrací informace o přístupu systému souborů snap.
Tento příkaz používá služba xdg-document-portal k identifikaci
souborů, které pro zajištění přístupu není třeba proxiovat
na samotku.
Cesty k souborům jsou interpretovány jako cesty k souborovému systému hostitele. Nástroj může
vracet falešné negativy (např. hlásit, že cesta k souboru je nečitelná,
přestože je čitelná pod jinou cestou). Rovněž nekontroluje,
zda by oprávnění systému souborů způsobila nečitelnost souboru.
|
|
Translated by
Víťa Šrůtek
|
|
Reviewed by
Tomáš Marný
|
|
|
|
Located in
cmd/snap/cmd_routine_file_access.go:43
|
|
31.
|
|
|
The find command queries the store for available packages.
With the --private flag, which requires the user to be logged-in to the store
(see 'snap help login'), it instead searches for private snaps that the user
has developer access to, either directly or through the store's collaboration
feature.
A green check mark (given color and unicode support) after a publisher name
indicates that the publisher has been verified.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Víťa Šrůtek
|
|
Reviewed by
Tomáš Marný
|
|
|
|
Located in
cmd/snap/cmd_find.go:40
|
|
32.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated and reviewed by
Pavel Borecki
|
|
|
|
Located in
cmd/snap/cmd_snapshot.go:66
|
|
33.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
|
|
Translated and reviewed by
Pavel Borecki
|
|
|
|
Located in
overlord/hookstate/ctlcmd/get.go:52
|
|
34.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
|
|
Translated and reviewed by
Pavel Borecki
|
|
|
|
Located in
cmd/snap/cmd_get.go:34
|
|
35.
|
|
|
The help command displays information about snap commands.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Příkaz help zobrazí informace o snap příkazech.
|
|
Translated and reviewed by
Pavel Borecki
|
|
|
|
Located in
cmd/snap/cmd_help.go:36
|
|
36.
|
|
|
The info command shows detailed information about snaps.
The snaps can be specified by name or by path; names are looked for both in the
store and in the installed snaps; paths can refer to a .snap file, or to a
directory that contains an unpacked snap suitable for 'snap try' (an example
of this would be the 'prime' directory snapcraft produces).
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Příkaz info zobrazí podrobné informace o snapech.
Snapy je možné zadat názvem či popisem umístění. Názvy jsou vyhledávány jak
v obchodě, tak mezi nainstalovanými snapy, popisy umístění mohou odkazovat na
.snap soubor, nebo na složku, které obsahuje nerozbalený snap, použitelný pro
̮„snap try“ (příklad tohoto by byla složka „prime“, kterou snapcraft vytváří).
|
|
Translated and reviewed by
Pavel Borecki
|
|
|
|
Located in
cmd/snap/cmd_info.go:59
|
|
37.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Víťa Šrůtek
|
|
Reviewed by
Tomáš Marný
|
|
|
|
Located in
cmd/snap/cmd_snap_op.go:52
|