Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gpg2 with all fixes included #510

Merged
merged 23 commits into from
Feb 8, 2019
Merged

Gpg2 with all fixes included #510

merged 23 commits into from
Feb 8, 2019

Conversation

tlaurion
Copy link
Collaborator

@tlaurion tlaurion commented Jan 26, 2019

Supersedes gpg2 branch that is not based on master

@kylerankin @flammit : please review!

@kylerankin please rebase #490 on this branch?
I'll then propose factory resetting options based on #490.

@tlaurion
Copy link
Collaborator Author

fixes #435

@tlaurion tlaurion mentioned this pull request Jan 26, 2019
@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 26, 2019

Deleted.

@jandryuk
Copy link
Contributor

Should this PR be cleaned up? Off the top of my head, these two commits cancel reach other out:
02728ff
ee12c3a

Those two could just be dropped.

Other commits are fix ups that could just be squashed.

tlaurion and others added 9 commits January 29, 2019 11:15
…lled; trying to get console tty from the tty returns "no console". NEEDs BETTER FIX.
gpg2 needs GPG_TTY set to function properly.  We set it in /init so it
is inherited by all children.  The call to $(tty) must be after /dev and
(preferably) /dev/pts are mounted.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
… rom

.ash_history: add examples to generate keys and otrust in rom
flash-gui: export otrust and import it in rom
key-init: import otrust.txt if present to supress warning about user public key being untrusted
else:
make[4]: Entering directory '/home/user/heads/build/pinentry-1.1.0/qt'
g++ -DHAVE_CONFIG_H -I. -I..  -I//include -I//include  -I.. -I../secmem  -I../pinentry -Wall -I/home/user/heads/install/usr/include -I/home/user/heads/install/usr/include/QtCore -I/home/user/heads/install/usr/include/QtGui -DQT_SHARED  -g -O2 -MT pinentrydialog.o -MD -MP -MF .deps/pinentrydialog.Tpo -c -o pinentrydialog.o pinentrydialog.cpp
In file included from pinentrydialog.cpp:24:
pinentrydialog.h:27:10: fatal error: QDialog: No such file or directory
@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 29, 2019

@jandryuk

Should this PR be cleaned up? Off the top of my head, these two commits cancel reach other out:
02728ff
ee12c3a

Those two could just be dropped.

Done.

@flammit @kylerankin : something else? Ready to merge?

@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 30, 2019

Deleted. Will be done in anoother PR. Not pertinent here and complicates things.

@kylerankin
Copy link
Collaborator

I'd prefer separating any factory-reset dependencies from just having gpg2 be implemented in Heads. Then changes we'd need to make so your factory-reset workflow works would be limited to those PRs.

@tlaurion
Copy link
Collaborator Author

tlaurion commented Feb 8, 2019

@kylerankin actually, this is already in this state for the current PR.

I would add some changes i've done so that otrust.txt export at key generation is not needed anymore, the trusting being applied when the armored gpg key is imported.

…d keys

key-init makes sure trustdb is updated at run time and user and distro keys are ultimately trusted. Each time a file is signed, the related public key is showed without error on it's trustability.
flash-gui deals with gpg1 to gpg2 migration. If pubring.kbx is found, pubring.gpg is deleted from running rom dump.
@tlaurion
Copy link
Collaborator Author

tlaurion commented Feb 8, 2019

@jandryuk @flammit @kylerankin : please comment the code ASAP so we can merge ASAP.
Thanks. :)

Copy link
Collaborator

@kylerankin kylerankin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.

@tlaurion tlaurion merged commit eafb470 into linuxboot:master Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants