Announcing Agama 7
It’s vacation season in Europe and most of the YaST development team will be busy for a couple of weeks singing Chistmas songs, celebrating the arrival of a new year and opening presents from the Three Wise Men. But we didn’t want to leave the openSUSE fans idle for so long. So we decided to release another prototype of Agama, so you can have fun testing it and giving us feedback.
Meet Agama 7 and its corresponding Agama Live ISO images for testing.
Localization Settings for the Target System
One of the most significant changes compared to previous versions is the possibility of fully configuring all the localization aspects of system to be installed. That includes the language, the keyboard layout and the time zone.
Note these aspects don’t affect the Agama interface. The language used by Agama during the installation process is determined by the browser. However, it can be changed through the Agama sidebar as already explained in our previous blog post.
Keyboard Selector for Local Installation
But what happens when the browser you use to connect to Agama is not in a remote machine properly configured but is the full-screen browser offered by the Agama Live testing image? Don’t worry; your localization needs are also covered.
As you can see in the description of this pull request, you can use the Agama sidebar to change the keyboard layout if the browser is running in the same system executing Agama, as is the case of Agama Live.
We plan to create a proper welcome screen for users who don’t know enough English to reach that sidebar. Meanwhile we hope the current options will be enough to use Agama in your preferred language and get a correctly localized system as result of the installation.
Reduce RAM Usage in the Testing Image
Talking about the Agama Live testing image, we recently reduced the amount of RAM it requires to install openSUSE. In fact, Agama’s memory usage has mostly stayed the same, but we enabled zram by default in the live image and now everything should work better in systems with a limited amount of RAM. If you want to disable zram, just open a terminal and execute the following command.
systemctl stop zramswap
To be honest, we cannot foresee any good reason to disable zram, so let us know if you think we are mistaken.
Installation of openSUSE MicroOS
We also reorganized the Agama configuration included in the openSUSE flavor of Agama Live. Now you can use the very same testing image to install openSUSE Tumbleweed and openSUSE MicroOS.
First Step to Simplify Selection of Software
In Agama 5 we introduced a software patterns selector to allow the user to customize, to some extent, which software to install. It was just a prototype but it unveiled some troubles:
- There are way too many patterns and it is easy to get lost.
- As some products share the same repositories (i.e., Tumbleweed and MicroOS), you might mix patterns from both products.
To mitigate those problems, Agama displays now a curated list of patterns for each product. However, the current implementation is still a prototype, as we plan to refine the approach and add more features, like proper conflict handling.
Registration Support
As you may know, some SUSE products are expected to be registered in the SUSE Customer Center using a product key. Agama now supports this use case, although with some limitations. The most relevant one is that it does not support any proxy of the SUSE Customer Center (e.g., Repository Mirroring Tool).
Another constraint of the current implementation is that it does not support products with optional registration.
However, there are plans to remove those limitations sooner than later.
More Customization Options
The storage area got its share of regular enhancements too. The first noticeable change is that you can tell Agama how to make space to install the system. Do you want to remove the current content and use the whole disk? Or do you prefer to shrink existing partitions to make space? Or would you like to use only the available space? We expect these options to cover most of the use cases, although we plan to add support for a more fine-grained approach.
Another significant change in the storage area is allowing users to select the file system for each mount point. It includes enabling or disabling snapshots if you want to use Btrfs.
Network Bonding
The network configuration is one of the areas we want to focus on the short term. Until now, Agama
only supports simple use cases over wired and wireless devices. However, it is limited if you use a
network-based storage device (e.g., iSCSI) to install the system.
For that reason, in close collaboration with our network experts at SUSE, we are adding support for more scenarios. In this release, you can set up a bonding connection, although this feature is limited by now to the unattended installation case. The example below shows how to define the connection.
{
"id": "Bonding Connection 1",
"interface": "bond",
"bond": {
"ports": ["eth0", "eth1"],
"mode": "active-backup",
"options": "primary=eth1"
}
}
Other Improvements
- Preserve the installation logs for easier error reporting and debugging.
- Make it possible to translate the messages in the installation progress screen. Our superb team of translators is already working on them.
- Several accessibility improvements in the web user interface by adding
aria-label,aria-live-regionandaria-busyattributes where needed.
The Year of Agama
Agama 7 is the first prototype we could consider to be “functional enough”. It finally covers all the areas we consider as essencial during the installation of the system: localization, network configuration, storage setup, authentication basis (including the optional creation of a first user) and an intentionally simplistic selection of the software to install.
Of course, all those areas need to evolve much further and that’s exactly the goal for this new year - take Agama to the next level in which it could even replace YaST for some scenarios and distributions.
Your contributions and opinions are an important element for that. So don’t hesitate to contact
the YaST team at the YaST Development mailing
list, our #yast
channel at Libera.chat or the Agama project at
GitHub.
See you again in 2024!
Overcome the ibus daemon autostart after installing Zoom
Guide étape par étape pour supprimer un compte Facebook en toute simplicité
Comment supprimer définitivement son compte Facebook
Pour supprimer définitivement son compte Facebook depuis un smartphone, il suffit de suivre quelques étapes simples. Tout d’abord, ouvrez l’application Facebook sur votre smartphone. Ensuite, appuyez sur l’icône en forme de trois lignes horizontales dans le coin supérieur droit de l’écran. Faites défiler vers le bas et appuyez sur « Paramètres et vie privée », puis sur « Paramètres ». Ensuite, appuyez sur « Votre activité Facebook » et sélectionnez « Propriété et contrôle de votre compte ». Enfin, appuyez sur « Désactivation et suppression » et choisissez « Supprimer votre compte ». Pour supprimer définitivement son compte Facebook depuis un ordinateur, connectez-vous à Facebook via un navigateur web. Cliquez sur la flèche vers le bas en haut à droite de la page, puis sur « Paramètres ». Dans la colonne de gauche, cliquez sur « Vos informations Facebook » et sélectionnez « Désactivation et suppression ». Enfin, choisissez « Supprimer votre compte » et suivez les instructions à l’écran.
Annuler la suppression du compte Facebook
Il est important de noter que la suppression d’un compte Facebook est généralement irréversible . Cependant, si vous changez d’avis dans les 30 jours qui suivent la suppression, vous pouvez annuler la suppression de votre compte en vous connectant à nouveau à Facebook . Une fois connecté, vous aurez la possibilité d’annuler la suppression et de restaurer votre compte tel qu’il était avant la suppression.
Comment désactiver son compte Facebook
Pour désactiver son compte Facebook , il existe également des étapes spécifiques à suivre. Vous pouvez le faire depuis un smartphone ou un ordinateur. Sur un smartphone, ouvrez l’application Facebook , appuyez sur l’icône en forme de trois lignes, puis sur « Paramètres et vie privée », et enfin, sur « Paramètres ». Sélectionnez « Votre activité Facebook » et « Propriété et contrôle de votre compte ». Enfin, appuyez sur « Désactivation et suppression » et choisissez « Désactiver votre compte ».
Réactiver son compte Facebook
Si vous décidez de revenir sur votre décision et de réactiver votre compte Facebook , il vous suffit de vous connecter à nouveau sur la plateforme. Une fois connecté, votre compte sera automatiquement réactivé.
| Section de l’article | Contenu |
|---|---|
| Supprimer définitivement son compte Facebook depuis un smartphone | Étapes à suivre pour supprimer définitivement son compte Facebook depuis un smartphone. |
| Supprimer définitivement son compte Facebook depuis un ordinateur | Étapes à suivre pour supprimer définitivement son compte Facebook depuis un ordinateur. |
| Annuler la suppression du compte Facebook | Procédure pour annuler la suppression d’un compte Facebook dans les 30 jours suivant sa suppression. |
| Désactiver son compte Facebook depuis un smartphone ou un ordinateur | Étapes à suivre pour désactiver son compte Facebook depuis un smartphone ou un ordinateur. |
| Réactiver son compte Facebook | Procédure pour réactiver un compte Facebook après l’avoir désactivé. |
[‘Perspectives futures’] : Il est important de toujours se rappeler que la suppression d’un compte Facebook peut avoir des conséquences permanentes, surtout si vous avez des données ou des contacts importants sur la plateforme. Avant de prendre une décision aussi radicale, il est essentiel de bien réfléchir aux conséquences et aux alternatives possibles. En gardant à l’esprit l’évolution constante des médias sociaux, il est important de rester informé des nouvelles options et fonctionnalités offertes par Facebook en matière de confidentialité et de gestion de compte.
FAQ
Comment supprimer définitivement un compte Facebook ?
Pour supprimer définitivement un compte Facebook, allez dans les ‘Paramètres & Confidentialité’ de votre compte, puis dans ‘Paramètres’, cliquez sur ‘Vos informations Facebook’, puis ‘Supprimer votre compte et vos informations’, et suivez les instructions à l’écran. Les délais de suppression permanente peuvent prendre jusqu’à 90 jours.
Comment supprimer et Désactiver un compte Facebook ?
Pour supprimer un compte Facebook, allez dans ‘Paramètres’, cliquez sur ‘Vos informations Facebook’, puis sur ‘Supprimer votre compte et vos informations’. Pour le désactiver, allez dans ‘Paramètres’, ‘Vos informations Facebook’, puis cliquez sur ‘Désactivation et suppression’ où vous pouvez choisir ‘Désactiver votre compte’.
Comment supprimer une page Facebook dont je suis administrateur ?
Pour supprimer une page Facebook dont vous êtes l’administrateur, allez à Paramètres de votre page -> Général -> Supprimer la page. Cliquez ensuite sur ‘Supprimer [nom de la page]’ et confirmez pour supprimer définitivement la page.
Comment faire pour supprimer un compte ?
La procédure pour supprimer un compte dépend de la plateforme ou du service. En général, il faut aller dans les paramètres du compte, rechercher l’option de suppression ou de désactivation du compte, puis suivre les instructions. Certains services peuvent nécessiter une demande écrite ou un appel au service clientèle.
L’article Guide étape par étape pour supprimer un compte Facebook en toute simplicité est apparu en premier sur Astuces Tech.
Lanzada la segunda beta de KDE 6, el megalanzamiento de la Comunidad KDE – Copy
Los desarrolladores de la Comunidad KDE están inmersos en un salto tecnológico que lleva eleverá a cotas superiores la excelencia de los productos KDE. Fruto de este movimiento se ha preparado un lanzamiento colectivo de Plasma 6, KDE Frameworks 6 y KDE Gear 24.02 para el 28 de febrero. A falta de un nombre mejor me he permitido bautizarlo como KDE 6, ya que utilizará tecnología de las librerías Qt 6. Es por ello que hay que preprarar bien las cosas y de esta forma ayer miércoles fue lanzada la segunda beta de KDE 6, el megalanzamiento de la Comunidad KDE que empieza a generar mucha expectativa. Así que, para los que disfruten de probar cosas nuevas es el momento de testear esta versión y reportar los errores que se encuentren. ¡No pierdas la oportunidad de contribuir al desarrollo de Plasma!
Lanzada la segunda beta de KDE 6, el megalanzamiento de la Comunidad KDE
Ayer 29 de noviembre fue sido lanzada la beta de KDE 6 ( es decir, de Plasma 6, KDE Frameworks 6 y KDE Gear 24.02). Este conjunto de software está previsto que sea lanzado el 28 de febrero de 2024. Esta primera versión liberada no es apta todavía para el usuario que busquen estabilidad, así que abstenerse usuarios finales si no queréis que se os rompa el sistema.

En palabras de sus desarrolladores:
Cada pocos años adaptamos los componentes clave de nuestro software a una nueva versión de Qt, aprovechando la oportunidad para eliminar cosas innecesarias y sacar partido de las funciones actualizadas que nos ofrezca la versión más reciente de Qt.
Estamos a poco más de dos meses del megarelease de KDE. A finales de febrero de 2024 publicaremos Plasma 6, Frameworks 6 y todo un nuevo conjunto de aplicaciones en una edición especial de KDE Gear, todo de una sola vez.
Si ha seguido las actualizaciones aquí y aquí, sabrá que estamos en la fase de pruebas. KDE hace pública hoy la segunda versión Beta de todo el software que incluiremos en el megalanzamiento.
Se trata de una versión preliminar destinada únicamente a desarrolladores y probadores. Esperamos que sea adoptada por las distribuciones inestables, pero está lejos de estar lista para el uso diario.
Más información: KDE
Pruébalo y reporta errores

Todas las tareas dentro del mundo del Software Libre son importantes: desarrollar, traducir, empaquetar, diseñar, promocionar, etc. Pero hay una que se suele pasar por alto y de la que solo nos acordamos cuando las cosas no nos funcionan como debería: buscar errores.
Desde el blog te animo a que tú seas una de las personas responsables del éxito del nuevo lanzamiento de la Comunidad KDE. Para ello debes participar en la tarea de buscar y reportar errores, algo básico para que los desarrolladores los solucionen para que el despegue del escritorio esté bien pulido. Debéis pensar que en muchas ocasiones los errores existen porque no le han aparecido al grupo de desarrolladores ya que no se han dado las circunstancias para que lo hagan.
Para ello debes instalarte esta beta y comunicar los errores que salgan en bugs.kde.org, tal y como expliqué en su día en esta entrada del blog.
La entrada Lanzada la segunda beta de KDE 6, el megalanzamiento de la Comunidad KDE – Copy se publicó primero en KDE Blog.
New and Improved Ways to Report
alpのgrafana workloadを制御してみる
さて、毎度ながらの説明ですが、ALP (Adaptive Linux Platform)は、SUSEとopenSUSEで開発している次世代OSのベースです。イミュータブルで軽量な仕様となっています。
この冬発売のGeeko MagazineにインストールとCockpitというブラウザから管理できるアプリの体験記を書いていますので、ぜひ皆さん試してみてください。
今日は19日の記事の続きで、alpで動かしたgrafana workloadの制御コマンドを見てみたいと思います。
grafana-container-manage.sh create
grafanaコンテナを作成します。
grafana-container-manage.sh install
grafanaコンテナを動かすのに必要なファイル類をホストの/usr/local/binや/etcにインストールします。
スクリプト内の処理は、ホストのルートをマウントして、label-installというスクリプトを実行していました。
grafana-container-manage.sh start
grafanaコンテナをスタートします。
grafana-container-manage.sh uninstall
installコマンドでインストールしたファイル類などを削除します。こちらもスクリプト内の処理はホストのルートをマウントして、label-uninstallというスクリプトを実行していました。
grafana-container-manage.sh stop
grafanaコンテナをストップします。
grafana-container-manage.sh rm
grafanaコンテナを削除します。
grafana-container-manage.sh rmcache
garfanaイメージを削除します。内部で実行されるコマンドは、podman rmiです。
grafana-conatiner-manage.sh run
grafanaコンテナを実行します。
grafana-container-manage.sh bash
grafanaコンテナ内のbashを実行します。
grafana-container-manage.sh logs
grafanaコンテナのログを表示します。
コンテナのライフサイクルがわかっていれば、各コマンドの意味がわかるかと思います。
uninstallを実行すると、当然grafana-container-manage.shも削除されます。再び使うためには、19日の方法でイメージのinstallラベルを実行します。
# podman container runlabel install registry.opensuse.org/suse/alp/workloads/tumbleweed_containerfiles/suse/alp/workloads/grafana:latest
また、rmcacheでイメージを削除後、createをしようとするとイメージのpullが始まります。まぁ当然ですね。
実行時、runだとgrafanaのコンテナの中のシェルが動いたため、cerateからstartを実行する方法が安全そうでした。
基本的にはpodmanコマンドのラップですが、installなど一部処理を簡単に実行できるようになっているので、ぜひ試してみてください。
Systemd-boot and Full Disk Encryption in Tumbleweed and MicroOS
Systemd-boot and Full Disk Encryption in Tumbleweed and MicroOS
openSUSE Tumbleweed and MicroOS are now delivering an image that is
using systemd-boot as boot loader and full disk encryption based
also on systemd. The unlock of the encrypted device can be done via
the traditional password, a TPM2 (a crypto-device that is already
present in your system) that will attach the device if the system is
in good health, or a FIDO2 key that will validate the ownership of a
token.
There is a lot to explain here, but basically those changes are in the direction of moving the distribution into a more safe place. For one side is making the design of the distribution much more simple, and for another it is following the current trends about security that other distributions are also aligning with.
So, lets start with the beginning …
systemd-boot
We all know and love GRUB2. It is a good boot loader. It is also
big, complex, rich, massive and tends to move slow on the development
side.
The openSUSE package for this boot loader contains more than 200 patches. Some of those patches are there for the last 5, 6 … 10 years. That is both an indication of the talent of the maintainers, but also can signal an issue in how slow the upstream contribution process can be.
GRUB2 supports all the relevant systems, including mainframes, arm
or powerpc. Multiple types of file systems, including btrfs or
NTFS. It contains a full network stack, an USB stack, a terminal,
can be scripted … In some sense, it is almost a mini OS by itself.
But then UEFI happened 18 years ago, making almost all the features
provided by GRUB2 somehow redundant. The system firmware was
already providing most of these functionalities as services that can
be consumed by the operating system, the boot loader or any other user
provided application. And of course GRUB2 supported UEFI too.
Soon the Linux kernel gained the option of being compiled as an EFI
binary, via a stub that can be attached to the kernel code. This
implies that the kernel itself could be launched by the firmware
directly, making the boot loader something optional in most of the
cases.
Over time new and more straightforward boot loaders focused on UEFI
appeared, like gummiboot. Later this code was integrated into
systemd and renamed as systemd-boot.
The code is very simple. Many orders of magnitude simpler than
GRUB2. It is basically a very small EFI binary that presents a
menu with the different boot loader entries (text files described in
the Boot Loader Specification or BLS for short), and a call to
the UEFI LoadImage function to delegate the execution to the
selected kernel.
This boot loader can also work with the new unified kernel images
(UKI), that are files that aggregate in a single unit the kernel,
the command line, and the initrd. Those UKIs can be very handy
for image based distributions, and openSUSE plans to support them as
well.
Providing systemd-boot as an alternative for GRUB2 is something
that openSUSE wanted to do for a long time. In August 2023 there was
an announcement on the Factory mailing list about Tumbleweed
supporting systemd-boot.
The announcement references a wiki entry that explains how to
migrate an installation using GRUB2 to systemd-boot manually.
Soon after the announcement, yast-bootloader gained support for
it for new installations.
Supporting another boot loader comes with a cost. As argued, the code
base is smaller, with less bugs and more easy to reason about. But
the UEFI dependency decreases the amount of supported architectures
(x86-64 and aarch64). That problem can be very much alleviated by
providing another patch for GRUB2 to support the BLS entries, so
the architecture of the distribution after the boot loader can be
independent of the boot loader itself. The good news is that the
patch already exists, and could potentially be added into the package.
Another problem is that systemd-boot does not speak btrfs. As an
EFI binary, it can read files only from a FAT32 file system. This
limitation can be resolved by moving the kernel and the initrd into
the EFI system partition (ESP).
Finally, there is also the consideration of supporting snapshots in
Tumbleweed and transactions in MicroOS. From the boot loader the user
should be able to select what snapshot to boot from, like it is
actually possible to do when using GRUB2. Both concepts are
implemented using btrfs subvolumes, and there is only a subset of
kernel, command line, initrd combinations that are valid for each of
those subvolumes.
For example, let’s say we have two snapshots in our system, and each of these represents a system that has two kernels installed. It is possible that those two kernels are not the same across all the snapshots. Maybe one of the upgrades replaced one kernel with a newer version. We need some tool that can do the bookkeeping required to associate the correct combination that will produce a successful boot into any of those snapshots, creating the boot entries under those restrictions.
This tool is sdbootutil. Every time snapper creates or
destroys a snapshot (for example, when the system gets updated), it
will call this tool that will analyze the content of the snapshots,
making sure that the corresponding kernel is installed in the ESP, a
valid initrd for this kernel is present (if not it will be created
calling mkinitrd) and a boot entry is created that connects the
kernel, the initrd and the snapshot via the command line. It also
takes care of other details, like checking the free space on the
partition.
Usually his process works transparently, but is good to remember that we can force a clean state with:
sdbootutil add-all-kernels
sdbootutil remove-all-kernels
Just in case, you know …
Full disk encryption
The other aspect that we want to announce is the support of full disk
encryption (FDE) based on systemd.
FDE is not the new kid on the block. GRUB2 could unlock LUKS
volumes since long ago using the cryptomount command. Traditionally
this will request the password from the user two times: once when the
boot loader does the unlock and again when the initrd does the same
later. There are ways to avoid the second request injecting the
password into the initrd or, if you are using the openSUSE package,
it will inject the password transparently into the initrd.
Recently GRUB2 gained two new features: partial support of LUKS2
encrypted devices (using PBKDF2 as key derivation function instead
of the more secure and recommended Argon2id) and a key protection
mechanism that can store secrets in devices like the TPM2.
TPM2
Explaining how TPM2 works in detail is a topic for another post, but
for now we can think of it as a crypto device that be used to unlock
secrets only when certain conditions related to the state of the
system are met. The TPM2 will unlock the secret if the system is in
a healthy state.
This term is a technical one, and is related to assert that the system
is in a known good state. In other words, we know for sure that
the firmware has not been tampered with, the boot loader is the one
that we installed and has not been replaced, that the kernel is
exactly the one that comes from the distribution, that the kernel
command line is the one that we expect, and that the initrd that we
used does not contain any extra binary that we do not control.
Internally the TPM2 has some registers, known as platform
configuration register (PCR). In the TPM2 specification there are
24 of them and the size of one is enough to store the value of a hash
function, like SHA1 or SHA256. They are separated by banks: one
per supported hash function, but this is too much detail for now.
Those registers are kind of special. We can reset them, usually
setting the value to 0. We can read the value, or we can “extend”
them. The write operation is designed in a way that we cannot set any
random value in the register, except the result of the associated hash
function concatenating the current PCR value and a new value
provided by the user.
The current value of the PCR can only be produced by extending this
register using exactly the same sequence of values. If we change even
one bit of one of the values, we will produce a wildly different final
result for the same PCR.
This feature is used in a process known as “measured boot”, where
each stage in the boot chain is measured before it is executed. This
means that before the initial stages of the firmware are running,
there is a process that will calculate the hash of the code in memory,
and extend one of the PCRs using this value. This is repeated until
the very end of the boot sequence: the kernel and the initrd.
When measured boot is in place, the final values of the first 10
PCRs will contain values than can only be predicted if the machine
is using a well known version of firmware, boot loader and kernel,
together with the associated data like certificates, configuration
files, or kernel parameters. If one of those elements change (for
example, by using a different secure boot certificate), it will
generate PCR values different from the ones that we expect.
TPM2 chips are very interesting devices, and the set of features go
far beyond measured boot. If you want to learn more I recommend
resources like this or this.
TPM2 for FDE
Anyway, the gist here is that we can create a “policy” that can
instruct the TPM2 to decrypt a secret only if certain PCRs
contains the expected values. The details are a bit different, but
for now lets use this model as a good first approximation.
The idea is that we can encrypt a password with the values of certain
PCR registers, so GRUB2 can later attach the LUKS2 device if the
TPM2 can recover the password, validating the health of the system
until this point. If the TPM2 fails to decrypt it, that would mean
that some PCR has not the expected value and some stage in the boot
process changed. In this situation GRUB2 will ask the password from
the user to continue loading the kernel and the rest of the system. It
delegates the trust about the new state to the user.
GRUB2 also provides a tool to seal secrets under the current values
of a subset of PCRs. This is nice but also presents several
problems. One is that maybe we are setting the system up in a way
that we know the PCRs values will change during the next boot (for
example, during the first installation, a boot loader upgrade or a
firmware update). In this case sealing the password using the current
register values is useless: we need to be able to predict the new ones
and use those hypothetical values to do the sealing.
The other problem is more insidious and will become critical later.
The expected values can change frequently and can not be unique.
Maybe there is a set of valid ones. We can choose to boot from a
different kernel or from a different snapshot. The TPM2 provides a
solution for this using something known as authorized policies. They
are a way of creating policies that can change, but they are validated
by a signature. In essence, we create a public and a private key, and
we create multiple PCR policies that are signed using the private
key. Now the TPM2 can validate the signature using the public part,
and unseal the secret using the PCRs values stored in the new
policy.
Since early 2023 openSUSE provides the pcr-oracle tool to help
with the prediction of the PCR registers, and encrypt a key under
those values using both PCR policies or authorized policies. Using
this tool we can now seal a secret under a set of PCRs values that
can change!
In the openSUSE wiki we can find more documentation about those topics, including instructions about how to use it in our installation.
Using systemd for disk encryption
With GRUB2 the FDE is working properly, so why look for something
else? One reason is very evident: this architecture can only work
… well … only if our openSUSE GRUB2 version is used. It will
not work for other boot loaders like systemd-boot. In fact it will
not work with the the upstream version of GRUB2 itself.
But there is a second reason: we can argue that there is not a full
measured boot in place with GRUB2. If the boot loader needs to
unlock the device before it can load the kernel, is natural that
the PCR policies that will evaluate the health of the system cannot
make asserts on the kernel, command line or initrd that will be
used. Those will be loaded after the LUKS2 device has been opened.
The use of systemd-boot gives us an alternative architecture for
FDE that can work properly with any boot loader that follows the
BLS (remember, there is a patch for GRUB2 to support it somewhere,
so it is not excluded a priori), and provides the chance to do a
full measured boot attestation before unlocking the device.
One difference is that the kernel and the initrd will be placed in
the unencrypted ESP, and the unlock of the sysroot will be done
from inside the initrd using the different options that
systemd-cryptsetup offers. Currently it can unlock the device using
a normal password, a TPM2 with authorized policies (with optionally
a PIN that must be entered by the user) or a FIDO2 key device. In
the /etc/crypttab file we need to describe the unlocking
mechanism.
pcr-oracle has been extended to support the creation of authorized
policies that systemd can understand. They are stored in a JSON
file that contains multiple predictions, each one of them indicating
the PCRs involved, the TPM2 policy hash, the fingerprint of the
public key and the signature of the policy. This, together with the
public key PEM file, composes all the data required for
systemd-cryptsetup to use the TPM2 for the unseal of the LUKS2
key.
The RSA 2048 key used to sign the policy can be created with
openssl or with pcr-oracle itself. A note of caution: if the
private key gets leaked, this is a game over for the expected security
that the TPM2 could provide. Luckily the solution is cheap in this
case: generate a new key, re-register the key in the LUKS2 key slot
with systemd-cryptenroll and use sdbootutil to regenerate the
predictions for each boot entry. Yeah … we will document all the
process in the “systemd-fde” wiki page and provide better tools,
but trust me, it is indeed a cheap operation.
openSUSE is providing a MicroOS image named kvm-and-xen-sdboot that shows how all of this is working. This image contains some of the already mentioned tools integrated and some other new ones:
-
systemd-boot: Boot loader used instead of the defaultGRUB2 -
sdbootutil: Helper scripts to synchronize the boot entries of the system -
pcr-oracle: Predict thePCRs values for the next boot, and creates the authorized policies forsystemd -
disk-encryption-tool: Encrypt the device wheresysrootis located on the first boot -
dracut-pcr-signature:dracutmodule that will load the predictions into theinitrdfrom theESP
Those tools are designed to work together for this new FDE
architecture. What follows is a brief description on how all is
connected.
Once we get the new MicroOS qcow2 image and we setup the VM, we can
proceed with the boot process. If the VM has a virtual TPM2 device
it will start measuring the executed code and data, extending the
corresponding PCRs. Once systemd-boot has been reached, it will
find the correct boot entry for this session and will read the
corresponding kernel and initrd from it.
At this moment the image is not encrypted. Inside the initrd that
is used during this first boot, the disk-encryption-tool script will
be called. Using some heuristics it will find the partition that
belongs to sysroot (where the system is located), and will resize it
to reserve 32MB for the LUKS2 header. After that it will use all
the magic that cryptsetup provides to re-encrypt the device using a
locally generated password. This password, as of today, corresponds
to the recovery key that will be presented to the user at the end and
the user should take note and keep it safe.
After the re-encryption, the system /etc/crypttab will be updated to
communicate that this device is now encrypted and should be managed
with different tools later.
At the end of the initrd we switch to the new sysroot, now finally
located in an encrypted device. The disk-encryption-tool script
already did its main job, but it installed two modules for
jeos-firstboot, that will be executed on the first boot of the
system, which is currently happening!
The first module, enroll, will detect if there is a FIDO2 key
inserted and a TPM2 available. If so it will present a dialog
asking what do you want to use to unlock the system. The second module
will ask the user if the root password will also be enrolled in the
LUKS2 header as a new key, and will show the recovery key generated
earlier.
As of today it is not advisable to register both. As we described
earlier the FIDO2 key will make more sense if we are using a laptop
or a desktop machine and we want unlock the encrypted device with
proof of a token that we own. This is an interactive process. The
TPM2 makes more sense on situations where we do not want to interact
with the system, and we want to automatically unlock the device only
if we can assert the health of the system (no tamper occured in the
boot chain).
If we register the FIDO2 key, systemd-cryptenroll will be called
and we will be asked to press the button two times and the
installation process will be over. At the next boot we will be
required to present the key, and if the key is missing, the recovery
password will be asked.
If we register the TPM2 device, a new RSA 2048 key gets generated
and stored (the public and private parts) in /etc/systemd and
systemd-cryptenroll will be used to enroll the public key and to
annotate the PCRs that are used in the sealing of the LUKS2 key.
By default we will be using 0, 2, 4, 7, and 9. You can check the
meaning in this reference. PCRs 0 and 2 will measure all the
UEFI firmware code. PCR 4 will measure the boot loader
(systemd-boot) and the kernel (also UEFI binaries). PCR 7 will
register all the secure boot certificates, and PCR 9 will be used by
the kernel to measure the command line and the initrd.
This covers pretty much all that can make sense, but it is the user
who has the final word on what to measure. The reason is that the
predictions are done inside sdbootutil that, remember, will be
automatically executed after each change in the system (updates,
package removal, snapshots management, etc), and this tool will
produce predictions only for the PCRs registered in the LUKS2
header.
Regardless of the selected unlocking mechanism, the /etc/crypttab
file will be updated with this selection and a new initrd will be
generated to contain this information for the next boot.
Finally, the last component, dracut-pcr-signature will be
responsible that during the subsequent boots all the information that
systemd-cryptsetup requires for the unlock will be present
“on-the-fly” inside the initrd. It should be noted that the initrd
will require the JSON file with the policies and the key, but those
cannot be included in the initrd! The moment that we make a
prediction of a PCR that is extended with the hash of the initrd,
that is all, and we cannot touch the initrd anymore as this would
produce a new hash and automatically will invalidate the prediction.
This dracut module will be executed before the systemd-cryptsetup
generator for any encrypted devices has started, and will search in
the ESP partition for a tpm2-pcr-signature.json file, that
contains all the valid prediction for the current boot. Once this
file is in place, the systemd-crypsetup will be able to assert the
device in the current state is the expected one and the boot process
can continue until the end.
Future
The image is here, and is a sound PoC. It provides a much more simple
architecture and will place some components in the correct place.
This will help a lot in the next stages, as there are some other
things that we want to do with the distribution in relation to FDE.
One pretty clear disk-encryption-tool has limited use outside image
based installation. Part of this code should be living in YaST and
in Agama. The installer is already creating LUKS2 devices, so it
should be “easy” to extend it in a way that works for us.
Ideally, the jeos-firstboot modules should also live in the
installer, but somehow they make sense here too. In any case the
functionality should not be separated, and both should be merged.
The encryption tool is doing something right from the very start: the
master key, together with all the user keys are generated during
installation time, but one possible improvement is generating the
recovery key a bit later using the systemd tools. It is a small
detail, but separating system keys from users keys can simplify the
architecture.
Another aspect to improve is that the user may want to use the TPM2
and the FIDO2 key at the same time. For example, by default the
TPM2 is used, and if the stage changed in a way that fails the
prediction (or there is a security breach that has been detected), the
user can delegate the unlock to the FIDO2 key, instead of using a
password.
The sdbootutil script contains a bunch of features that should be
also living in systemd. Working with upstream will make this tool
obsolete with time, which would be more good news.
Another improvement that we can help with in systemd is to improve
the diagnosis about the reasons making the TPM2 reject the unseal of
the LUKS2 key. Today we have a general fail message without
reporting what PCR or what measured component inside the PCR is
reporting a different hash than the one predicted. This will help a
lot understating what did go wrong. Was the boot loader changed? Or
something in the firmware?
pcr-oracle is a very good tool for predicting the next PCR values.
It was very easy to extend to parse the new events in the log related
with the full measured boot process, including the kernel,
systemd-boot extensions on PCR 12, or generating the JSON
document required by systemd. The new systemd 255 (released a
week ago from the time of writing this) includes a similar tool named
systemd-pcrlock that can help us in providing the improved diagnosis
that we are looking for. Evaluating this tool to do the predictions
will be done soon too.
As today Type#1 and Type#2 entries from the BLS are not isomorphic.
There are sections in the EFI file of the UKI format that do not
exist in the text representation. Maybe we will decide to use UKIs
in the future, or maybe not. So a good improvement is working on
helping with this unification, that will (among other things) provide
a standard way of splitting the JSON file and associating the
predictions to each boot loader entry.
Generating and registering a new key, or selecting a different set of
PCRs is today a manual process. The current tools can be extended
to help in those processes, or better documentation could be provided.
The new approach for FDE is not about excluding GRUB2 from the
equation. It is about providing a chance of using different boot
loaders that follows the BLS. Validating that a proper patched
(duh!) GRUB2 can work with all this is still something to be done.
Also, another thing that needs to be validated and improved are
installations with multiple encrypted disks. In principle the design
and the code is supporting it (even when the PCR registers per
volume are different). openQA will do wonders here.
And finally, we should rethink if the UKIs do make sense for
openSUSE or not. If we go in that direction, the private key used for
signing the policies will be kept in OBS and those policies will
also be generated in the build service, using a different set of PCR
values.
In any case, there is a bunch of work ahead of us.
Anunciada la conf.kde.in 2024
Lo cierto es que poder realizar esta entrada me parece fabuloso. Y es que la frase «Piensa en global, actúa en global» es ideal para entender como debe funcionar un movimiento comunitario. Tengamos un proyecto para todo el mundo pero trabajemos coordinados con los que estamos cerca. Ha sido anunciada la conf.kde.in 2024, es decir, la versión india de la Akademy Internacional o, lo que es más acertado, la versión india de Akademy-es ya que se acerca más a esa idea.
Anunciada la conf.kde.in 2024
Por alguna razón la conf.kde.in nunca ha aparecido en el blog. Quizás su anuncio me pillara un poco saturado de trabajo o que se ha hecho poca promoción, pero lo cierto es que es hora de enmendar este error.
Para poner un poco de contexto la conf.kde.in es un evento donde los simpatizantes y desarrolladores de la India se reunen para realiar charlas, talleres y, sobre todo, compartir tiempo juntos y estrechar lazos.

La conf.kde.in se inició en 2011 en el R V College of Engineering de Bangalore por un grupo de colaboradores indios de KD, desde entonces hemos celebrado seis ediciones diferentes, cada una en universidades y lugares distintos: Gandhinagar (dos años seguidos), Amrita University (Kerala), LNMIIT (Jaipur), IIT Guwahati y, la última en Maharaja Agrasen Institute of Technology (Delhi).
Estos eventos lograron atraer a estudiantes indios a programas de tutoría como Google Summer of Code (GSoC), Season of KDE y Google Code-In. Estos programas a menudo han ayudado con éxito a los estudiantes a convertirse en colaboradores de por vida de las comunidades de código abierto, incluida KDE.
Es por ello que me complace en anunciar que conf.kde.in 2024 se celebrará en la Universidad Tecnológica COEP de Pune del 2 al 4 de febrero, con el objetivo de atraer a nuevos miembros de la Comunidad KDE, así como a desarrolladores experimentados. Los contenidos de la conferencia proporcionan información actualizada sobre lo que está ocurriendo en la Comunidad KDE y enseña a los recién llegados cómo empezar a hacer contribuciones significativas.
En la edición de este año, el evento atraerá de nuevo a ponentes de toda la India, proporcionando a los estudiantes una excelente oportunidad para interactuar con colaboradores de código abierto establecidos, así como con desarrolladores de diversas industrias que trabajan en proyectos de código abierto en los campos de la automoción, los sistemas integrados, los móviles, etc.
Como es casi obvio, yo no podré asisitir pero estaré atento para proporcionar todo tipo de información de este evento.
Más información: conf.kde.in 2024
La entrada Anunciada la conf.kde.in 2024 se publicó primero en KDE Blog.
Cómo crear sopas de letras con eXeLearning – Vídeo
Hace ya casi dos años que presenté eXeLearning, un editor de recursos educativos e interactivos de código abierto que te permite llevar tu actividades a otro nivel a la vez que compartirlos sin ningún tipo de restricción en multitud de formatos. Lo cierto es que me interesa mucho esta aplicación y he empezado a aprender mucho sobre ella, y es mi deber pagarlo mediante promoción. Hoy os traigo cómo crear Sopa de letras con eXeLearning , un vídeo de Cedec_Intef que explica muy bien los principios básicos en 6 pasos.
Cómo crear sopas de letras con eXeLearning – Vídeo
Seguimos con eXeLearning, y en esta ocasión con un vídeo de Cedec_Intef, que no es más que el Centro Nacional de Desarrollo Curricular en Sistemas no Propietarios (Cedec), un organismo público español que promueve la transformación digital y metodológica de las aulas que pone a disposición de los docentes recursos educativos abiertos (REA) del Proyecto EDIA, elaborados por docentes en activo con la herramienta de software libre eXeLearning.
Pues bien, en el vídeo que os presento hoy se explica en varios pasos cómo crear sopas de letras con Exelarning, bien sea poniendo pistas en forma de definición, imágen o sonido. Algo mucho más sencillo de lo que parece.
¿Qué es EXeLearning?

Para los que no lo conozcan, eXeLearning es un editor de recursos educativos e interactivos de código abierto se caracteriza por:
- Permite crear contenidos educativos de una manera sencilla
- Descarga fácil y gratuita desde su web.
- Está disponible para todos los sistemas operativos.
- Nos pemite catalogar los contenidos y publicarlos en diferentes formatos:
- Sitio web navegable y adaptable a diferentes dispositivos (responsive design).
- Estándar educativo, para trabajar con Moodle y otros LMS.
- Página HTML única para imprimir cómodamente tu trabajo.
- ePub3 (libro electrónico), etc.
- Ofrece diferentes diseños a elegir desde el menú, además de la posibilidad de crear diseños propios.
Con eXelearnig se puede crear todo tipo de actividades entre las que destaco rellenar huecos, pregunta de elección múltiple, pregunta de selección múltiple, pregunta verdadero-falso, cuestionario SCORM o actividad desplegable.
Además, y este es uno de los principales usos que hago de esta aplicación, nos permte crear rúbricas de forma sencilla, así como incluir recursos realizados con otras aplicaciones. Por ejemplo, Jclic, Descartes, Scratch, Geogebra, Physlets…
La entrada Cómo crear sopas de letras con eXeLearning – Vídeo se publicó primero en KDE Blog.
Cómo crear sopas de letras con eXeLearning – Víde
Hace ya casi dos años que presenté eXeLearning, un editor de recursos educativos e interactivos de código abierto que te permite llevar tu actividades a otro nivel a la vez que compartirlos sin ningún tipo de restricción en multitud de formatos. Lo cierto es que me interesa mucho esta aplicación y he empezado a aprender mucho sobre ella, y es mi deber pagarlo mediante promoción. Hoy os traigo cómo crear Sopa de letras con eXeLearning , un vídeo de Cedec_Intef que explica muy bien los principios básicos en 6 pasos.
Cómo crear sopas de letras con eXeLearning – Vídeo
Seguimos con eXeLearning, y en esta ocasión con un vídeo de Cedec_Intef, que no es más que el Centro Nacional de Desarrollo Curricular en Sistemas no Propietarios (Cedec), un organismo público español que promueve la transformación digital y metodológica de las aulas que pone a disposición de los docentes recursos educativos abiertos (REA) del Proyecto EDIA, elaborados por docentes en activo con la herramienta de software libre eXeLearning.
Pues bien, en el vídeo que os presento hoy se explica en varios pasos cómo crear sopas de letras con Exelarning, bien sea poniendo pistas en forma de definición, imágen o sonido. Algo mucho más sencillo de lo que parece.
¿Qué es EXeLearning?

Para los que no lo conozcan, eXeLearning es un editor de recursos educativos e interactivos de código abierto se caracteriza por:
- Permite crear contenidos educativos de una manera sencilla
- Descarga fácil y gratuita desde su web.
- Está disponible para todos los sistemas operativos.
- Nos pemite catalogar los contenidos y publicarlos en diferentes formatos:
- Sitio web navegable y adaptable a diferentes dispositivos (responsive design).
- Estándar educativo, para trabajar con Moodle y otros LMS.
- Página HTML única para imprimir cómodamente tu trabajo.
- ePub3 (libro electrónico), etc.
- Ofrece diferentes diseños a elegir desde el menú, además de la posibilidad de crear diseños propios.
Con eXelearnig se puede crear todo tipo de actividades entre las que destaco rellenar huecos, pregunta de elección múltiple, pregunta de selección múltiple, pregunta verdadero-falso, cuestionario SCORM o actividad desplegable.
Además, y este es uno de los principales usos que hago de esta aplicación, nos permte crear rúbricas de forma sencilla, así como incluir recursos realizados con otras aplicaciones. Por ejemplo, Jclic, Descartes, Scratch, Geogebra, Physlets…
La entrada Cómo crear sopas de letras con eXeLearning – Víde se publicó primero en KDE Blog.


